# Re: \[PATCH v12 03/13\] mm: Introduce VM\_WARN\_ON\_PAGE macro

- From: Mike Kravetz \<hidden\>
- Date: 2021-01-14 02:04:47 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/01/197306
- Thread: https://ratatoskr.run/linux-doc/2021/01/196736/t.md

```text
On 1/6/21 6:19 AM, Muchun Song wrote:
> 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.

-- 
Mike Kravetz
```
