lkml.org 
[lkml]   [2009]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [uClinux-dev] [PATCH] NOMMU: fix malloc performance by addinguninitialized flag
    Date
    On Tue 13 Oct 2009 03:44, Mike Frysinger pondered:
    > From: Jie Zhang <jie.zhang@analog.com>
    >
    > The no-mmu code currently clears all anonymous mmap-ed memory. While this
    > is what we want in the default case, all memory allocation from userspace
    > under no-mmu has to go through this interface, including malloc() which is
    > allowed to return uninitialized memory. This can easily be a significant
    > performance slow down. So for constrained embedded systems were security
    > is irrelevant, allow people to avoid unnecessarily clearing memory.
    >
    > Signed-off-by: Jie Zhang <jie.zhang@analog.com>
    > Signed-off-by: Robin Getz <rgetz@analog.com>

    Should be rgetz@blackfin.uclinux.org -- rgetz@analog.com does not exist and will bounce.



    \
     
     \ /
      Last update: 2009-10-13 17:35    [W:0.019 / U:151.848 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site