diff options
author | Christoph Hellwig <hch@lst.de> | 2005-09-06 18:16:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:23 -0400 |
commit | cdb3826b9958c204bc8ffda2cf9bbe2d899ef90c (patch) | |
tree | 7e1f5a1a7b114f422b0584fc1823f0147b209550 /mm/mmap.c | |
parent | edf83015fcbff8976b75b42b565a77e9d450c567 (diff) |
[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>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -203,13 +203,6 @@ static void remove_vm_struct(struct vm_area_struct *vma) | |||
203 | kmem_cache_free(vm_area_cachep, vma); | 203 | kmem_cache_free(vm_area_cachep, vma); |
204 | } | 204 | } |
205 | 205 | ||
206 | /* | ||
207 | * sys_brk() for the most part doesn't need the global kernel | ||
208 | * lock, except when an application is doing something nasty | ||
209 | * like trying to un-brk an area that has already been mapped | ||
210 | * to a regular file. in this case, the unmapping will need | ||
211 | * to invoke file system routines that need the global lock. | ||
212 | */ | ||
213 | asmlinkage unsigned long sys_brk(unsigned long brk) | 206 | asmlinkage unsigned long sys_brk(unsigned long brk) |
214 | { | 207 | { |
215 | unsigned long rlim, retval; | 208 | unsigned long rlim, retval; |