Re: [BUGFIX][PATCH] fix wrong VM_BUG_ON() in try_charge()'smm->owner check

From: Balbir Singh
Date: Wed Nov 03 2010 - 01:17:15 EST


* Hiroyuki Kamezawa <kamezawa.hiroyuki@xxxxxxxxx> [2010-11-03 00:10:50]:

> I'm sorry for attached file, I have to use unusual mailer this time.
> This is a fix for wrong VM_BUG_ON() for mm/memcontol.c
>

Yes, that seems reasonable. If we race with try_to_unuse() and
the mm has no new owner we set mm->owner to NULL, in those cases it
makes no sense to charge.


Reviewed-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>


--
Three Cheers,
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/