Re: [External] Re: [PATCH v12 03/13] mm: Introduce VM_WARN_ON_PAGE macro

From
Muchun Song <hidden>
Date
2021-01-14 02:52:28
Also in
linux-fsdevel, linux-mm, lkml
Reply to
Mike Kravetz, 2021-01-14
On Thu, Jan 14, 2021 at 6:31 AM Mike Kravetz [off-list ref] wrote:
On 1/6/21 6:19 AM, Muchun Song wrote:
quoted
Very similar to VM_WARN_ON_ONCE_PAGE and VM_BUG_ON_PAGE, add
VM_WARN_ON_PAGE macro.

Signed-off-by: Muchun Song <redacted>
---
 include/linux/mmdebug.h | 8 ++++++++
 1 file changed, 8 insertions(+)
I was going to question the use/need for this macro in the following
patch.  Looks like Oscar has already done that, and free_bootmem_page
will now use VM_BUG_ON_PAGE.  So, this patch can be dropped.
In the previous version, Oscar suggested I use WARN_ON instead of
BUG_ON. But he realised we actually should use BUG_ON in this
version. So I will drop this in the next version. Thanks.
--
Mike Kravetz
Thread (26 messages) 26 messages, 3 authors, last reply 2021-01-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help