commit | e4eb1ff61b323d6141614e5458a1f53c7046ff8e | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 20 15:35:40 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 20 17:28:17 2012 -0700 |
tree | 7a0251509c169b0df1a6bf4bc47c5bca709e06da | |
parent | 3b422e9c2c020a1137349c614da7f9c9761a0922 [diff] |
VM: add "vm_brk()" helper function It does the same thing as "do_brk()", except it handles the VM locking too. It turns out that all external callers want that anyway, so we can make do_brk() static to just mm/mmap.c while at it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>