summaryrefslogtreecommitdiffstats
path: root/mm/memremap.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2022-09-01 09:50:43 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 20:26:11 -0700
commit9a157dd8fe5ac32304eff8a7722e30352acaa7f0 (patch)
tree5735505ba99f388f5afc07078b3cd777f4a7eeb1 /mm/memremap.c
parentb955aa70a3ac9f1dd5e26d4c7673ec3c28a8c2af (diff)
downloadlinux-9a157dd8fe5ac32304eff8a7722e30352acaa7f0.tar.bz2
mm: remove BUG_ON() in __isolate_free_page()
Drop unneed comment and blank, adjust the variable, and the most important is to delete BUG_ON(). The page passed is always buddy page into __isolate_free_page() from compaction, page_isolation and page_reporting, and the caller also check the return, BUG_ON() is a too drastic measure, remove it. Link: https://lkml.kernel.org/r/20220901015043.189276-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memremap.c')
0 files changed, 0 insertions, 0 deletions