Skip to content
Commit e4eb1ff6 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3b422e9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment