diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-29 08:46:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 08:47:05 -0400 |
commit | e7fd5d4b3d240f42c30a9e3d20a4689c4d3a795a (patch) | |
tree | 4ba588631dd8189a818a91c9e3976526071178b6 /mm/mmap.c | |
parent | 1130b0296184bc21806225fd06d533515a99d2db (diff) | |
parent | 56a50adda49b2020156616c4eb15353e0f9ad7de (diff) |
Merge branch 'linus' into perfcounters/core
Merge reason: This brach was on -rc1, refresh it to almost-rc4 to pick up
the latest upstream fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1579,7 +1579,7 @@ static int acct_stack_growth(struct vm_area_struct *vma, unsigned long size, uns | |||
1579 | * Overcommit.. This must be the final test, as it will | 1579 | * Overcommit.. This must be the final test, as it will |
1580 | * update security statistics. | 1580 | * update security statistics. |
1581 | */ | 1581 | */ |
1582 | if (security_vm_enough_memory(grow)) | 1582 | if (security_vm_enough_memory_mm(mm, grow)) |
1583 | return -ENOMEM; | 1583 | return -ENOMEM; |
1584 | 1584 | ||
1585 | /* Ok, everything looks good - let it rip */ | 1585 | /* Ok, everything looks good - let it rip */ |