On Wed, May 7, 2014 at 10:32 AM, Leon Ma 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.
Sorry, my fault. It's already validated in unlock_anon_vma_root().
BR
Leon
-Original Message-
From: Ma, Xindong
Sent: Wednesday, May 07, 2014 10:32 AM
To: a...@linux-foundation.org; iamjoonsoo@lge.com;
n-horigu...@ah.jp.nec.com; kirill.shute...@linux.intel.com; gorcu...@gmail.com;
2 matches
Mail list logo