summaryrefslogtreecommitdiffstats
path: root/arch/frv/mm
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-06-21 17:14:52 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 18:46:16 -0700
commit73219d178051691a56d57184d8c7f6d0cbe3c5c1 (patch)
treec527691510f5a2b757eac424c5671704084fc9eb /arch/frv/mm
parent1363c3cd8603a913a27e2995dccbd70d5312d8e6 (diff)
downloadop-kernel-dev-73219d178051691a56d57184d8c7f6d0cbe3c5c1.zip
op-kernel-dev-73219d178051691a56d57184d8c7f6d0cbe3c5c1.tar.gz
[PATCH] mmap topdown fix for large stack limit, large allocation
The topdown changes in 2.6.12-rc1 can cause large allocations with large stack limit to fail, despite there being space available. The mmap_base-len is only valid when len >= mmap_base. However, nothing in topdown allocator checks this. It's only (now) caught at higher level, which will cause allocation to simply fail. The following change restores the fallback to bottom-up path, which will allow large allocations with large stack limit to potentially still succeed. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud