Re: [PATCH 3/3] Convert a few VM_BUG_ON callers to VM_BUG_ON_VMA

2014-08-29 Thread Sasha Levin
On 08/29/2014 03:17 PM, Naoya Horiguchi wrote: >> -VM_BUG_ON(!PageLocked(page)); >> > + VM_BUG_ON_PAGE(!PageLocked(page), page); > This is not the replacement with VM_BUG_ON_VMA(), but it's fine :) Woops, I was on a spree and got this one as well. Thanks for the review Naoya! Thanks, Sasha

Re: [PATCH 3/3] Convert a few VM_BUG_ON callers to VM_BUG_ON_VMA

2014-08-29 Thread Naoya Horiguchi
On Fri, Aug 29, 2014 at 10:54:19AM -0400, Sasha Levin wrote: > Trivially convert a few VM_BUG_ON calls to VM_BUG_ON_VMA to extract > more information when they trigger. > > Signed-off-by: Sasha Levin > --- ... > diff --git a/mm/rmap.c b/mm/rmap.c > index 3e8491c..5fbd0fe 100644 > --- a/mm/rmap.c