Commit cdb3826b9958c204bc8ffda2cf9bbe2d899ef90c
Committed by
Linus Torvalds
1 parent
edf83015fc
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 0 additions and 7 deletions Side-by-side Diff
mm/mmap.c
... | ... | @@ -203,13 +203,6 @@ |
203 | 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 | 206 | asmlinkage unsigned long sys_brk(unsigned long brk) |
214 | 207 | { |
215 | 208 | unsigned long rlim, retval; |