lkml.org 
[lkml]   [2008]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 <sandeen@redhat.com> 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 <sandeen@redhat.com>

    Acked-by: Rik van Riel <riel@redhat.com>

    --
    All Rights Reversed


    \
     
     \ /
      Last update: 2008-07-28 19:13    [W:0.022 / U:30.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site