[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ff5ccb8b-adc7-8d74-6693-0e94785084a2@redhat.com>
Date: Thu, 1 Sep 2022 09:37:58 +0200
From: David Hildenbrand <david@...hat.com>
To: Kefeng Wang <wangkefeng.wang@...wei.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: remove BUG_ON() in __isolate_free_page()
On 01.09.22 03:50, Kefeng Wang wrote:
> 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.
Why not WARN_ON_ONCE then? But yeah, maybe this really isn't of any
value anymore.
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists