lkml.org 
[lkml]   [2007]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nommu arch dont zero the anonymous mapping by adding UNINITIALIZE flag
On 3/29/07, Wu, Bryan <bryan.wu@analog.com> wrote:
> On architectures with MMU, malloc takes about the same speed,
> indepentant of malloc size, while on the Blackfin (NOMMU), as the malloc
> size increases, the time that malloc consumes grows....

err, this is not the direction we wanted to go ... this requires
changes to the user<->kernel boundary which certainly will be rejected
by the glibc maintainers since it implies breakage in POSIX behavior
and is specific to no-mmu only ...

the plan is to hold onto this cruft in Blackfin until we get this bug
sorted out:
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3027

as the thing we'll send to mainline will be sane (a no-mmu specific
kconfig option to control the memset in the kernel malloc)

the memset in the kernel right now for no-mmu is by design, not defect
... we can chat about this more via Blackfin channels if you like, or
just wait till we meet up in Shanghai
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-30 05:57    [W:0.056 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site