[lkml]   [2007]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH, RFD]: Unbreak no-mmu mmap
    On Sat 9 Jun 2007 15:10, Matt Mackall pondered:
    > On Fri, Jun 08, 2007 at 03:53:49PM +0200, Bernd Schmidt wrote:
    > > 2. It is no longer possible to get blocks smaller than a page through
    > > mmap. This behaviour was used by simplemalloc, which is an insane
    > > way of implementing malloc on nommu systems and hopefully not used
    > > by anyone anymore.
    > That's worrisome. Breaking existing apps/libraries seems like a bad
    > idea.

    It is a bad idea - but on noMMU - breaking existing apps/libraries is
    (unfortunately) a pretty common thing...
    - the standard distribution - uClinux - rebuilds all things : kernel, apps,
    libc, shell, etc which run on the target - everytime you type 'make'
    - the standard library - uClibc - has little concept of binary
    compatibility, and has none in their years of releasing things.
    (which is OK, since everything is re-built with a simple 'make' anyway)

    Plus - what Bernd talked about - uClibc's simple malloc, isn't used that often
    (at all that I am aware of), on any modern uClibc systems. The overhead of
    calling the kernel to manage memory kills performance.

    As a user of the kernel in a noMMU environment - I would rather have Bernd's
    patch - which makes things closer to a MMU environment - and allows standard
    applications to work better (at all) - rather than backwards binary

    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: 2007-06-11 23:09    [W:0.034 / U:20.144 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site