summaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorDavid Howells2009-01-08 13:04:47 +0100
committerDavid Howells2009-01-08 13:04:47 +0100
commit0f3e442a403a344a5d0a49af9ecd7632b7e7343a (patch)
tree6d9557c9b058e04d9afc3ea7032bc155ff79b97e /mm/nommu.c
parentFDPIC: Don't attempt to expand the userspace stack to fill the space allocated (diff)
downloadkernel-qcow2-linux-0f3e442a403a344a5d0a49af9ecd7632b7e7343a.tar.gz
kernel-qcow2-linux-0f3e442a403a344a5d0a49af9ecd7632b7e7343a.tar.xz
kernel-qcow2-linux-0f3e442a403a344a5d0a49af9ecd7632b7e7343a.zip
FLAT: Don't attempt to expand the userspace stack to fill the space allocated
Stop the FLAT binfmt from attempting to expand the userspace stack and brk segments to fill the space actually allocated for it. The space allocated may be rounded up by mmap(), and may be wasted. However, finding out how much space we actually obtained uses the contentious kobjsize() function which we'd like to get rid of as it doesn't necessarily work for all slab allocators. Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Mike Frysinger <vapier.adi@gmail.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions