[lkml]   [2008]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] eCryptfs - use page_alloc not kmalloc to get a page of memory
On Mon, 28 Jul 2008 11:13:03 -0500
Eric Sandeen <> wrote:

> With SLUB debugging turned on in 2.6.26, I was getting memory corruption
> when testing eCryptfs. The root cause turned out to be that eCryptfs
> was doing kmalloc(PAGE_CACHE_SIZE); virt_to_page() and treating that
> as a nice page-aligned chunk of memory.

uh oh

> Signed-off-by: Eric Sandeen <>

Acked-by: Rik van Riel <>

All Rights Reversed

 \ /
  Last update: 2008-07-28 19:13    [W:0.080 / U:10.216 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site