Re: "mm: fix lazyfree BUG_ON check in try_to_unmap_one()" build error

From: Andrew Morton
Date: Thu Mar 09 2017 - 16:27:22 EST


On Thu, 9 Mar 2017 15:02:26 +0900 Minchan Kim <minchan@xxxxxxxxxx> wrote:

> Sergey reported VM_WARN_ON_ONCE returns void with !CONFIG_DEBUG_VM
> so we cannot use it as if's condition unlike WARN_ON.

Can we instead fix VM_WARN_ON_ONCE()?