From: S.Çağlar Onur Date: Sat, 14 Aug 2010 20:10:49 +0000 (-0400) Subject: refresh with rc2 X-Git-Tag: linux-2.6-27-22~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f0a486c1fd87107513421d82e8484c29507e0bcd;p=linux-2.6.git refresh with rc2 --- diff --git a/52.patch b/52.patch index 812c1f2e5..b6bd3b9e0 100644 --- a/52.patch +++ b/52.patch @@ -76,3 +76,16 @@ index 1c1a375..9739ae4 100644 /* Allocate our own private page. */ pte_unmap(page_table); +diff --git a/mm/mmap.c b/mm/mmap.c +index 7201372..bef13a1 100644 +--- a/mm/mmap.c ++++ b/mm/mmap.c +@@ -1573,7 +1573,7 @@ static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, un + * Overcommit.. This must be the final test, as it will + * update security statistics. + */ +- if (security_vm_enough_memory(grow)) ++ if (security_vm_enough_memory_mm(mm, grow)) + return -ENOMEM; + + /* Ok, everything looks good - let it rip */