From f0a486c1fd87107513421d82e8484c29507e0bcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sat, 14 Aug 2010 16:10:49 -0400 Subject: [PATCH] refresh with rc2 --- 52.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 */ -- 2.47.0