mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[PATCH] remove misleading comment above sys_brk
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
edf83015fc
commit
cdb3826b99
1 changed files with 0 additions and 7 deletions
|
@ -203,13 +203,6 @@ static void remove_vm_struct(struct vm_area_struct *vma)
|
|||
kmem_cache_free(vm_area_cachep, vma);
|
||||
}
|
||||
|
||||
/*
|
||||
* sys_brk() for the most part doesn't need the global kernel
|
||||
* lock, except when an application is doing something nasty
|
||||
* like trying to un-brk an area that has already been mapped
|
||||
* to a regular file. in this case, the unmapping will need
|
||||
* to invoke file system routines that need the global lock.
|
||||
*/
|
||||
asmlinkage unsigned long sys_brk(unsigned long brk)
|
||||
{
|
||||
unsigned long rlim, retval;
|
||||
|
|
Loading…
Reference in a new issue