On Wed, May 7, 2014 at 10:32 AM, Leon Ma <[email protected]> wrote:
> If memory allocation failed in first loop, root will be NULL and
> will lead to kernel panic.

Hello, Leon,

I am afraid not.  unlock_anon_vma_root() has a sanity check NULLness of root,
so it is impossible to panic for a dangling root pointer.



Thanks,
Jianyu Zhan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to