[lkml]   [2009]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [uClinux-dev] [PATCH] FDPIC: respect PT_GNU_STACK exec markings when creating NOMMU stack
    On Sat, Nov 28, 2009 at 10:24, Mike Frysinger wrote:
    > The current code will load the stack size and markings, but then only use
    > the markings in the MMU code path.  The NOMMU code path always passes EXEC
    > to the mmap() call.  While this doesn't matter to most people during the
    > run of the code, it causes a pointless icache flush when starting every
    > FDPIC application and by default, that tends to be 128kB of waste.

    for some raw numbers:
    with my default FDPIC boot (inetd/syslog/watchdog), we icache flush
    18,562,124 bytes. with this stack fix, we cut off 3,538,944 bytes
    (19% shrinkage).
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-11-28 19:51    [W:0.019 / U:1.864 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site