From: Christoph Hellwig Date: Tue, 6 Sep 2005 22:16:57 +0000 (-0700) Subject: [PATCH] remove misleading comment above sys_brk X-Git-Tag: v2.6.14-rc1~711 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cdb3826b9958c204bc8ffda2cf9bbe2d899ef90c;p=linux-2.6-omap-h63xx.git [PATCH] remove misleading comment above sys_brk Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/mmap.c b/mm/mmap.c index bb43340d397..12334aecf8a 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -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;