Messages in this thread | | | Date | Sat, 29 May 1999 19:01:59 -0400 (EDT) | From | Chuck Lever <> | Subject | Re: pre-2.3.4.. |
| |
On Sat, 29 May 1999, Alexander Viro wrote: > On Thu, 27 May 1999, Chuck Lever wrote: > > attached is a patch that removes the global kernel lock from brk() and > > when doing anonymous mmap(). it also reorganizes the locking logic in > > handle_pte_fault() to reduce the amount of time spent with the lock held > > needlessly. the handle_pte_fault() change may be more dangerous than the > > brk() and mmap() changes. it may also be unnecessary with the upcoming > > parallelized page cache. > > Chuck, it's unsafe. do_munmap() called from sys_brk() (or from do_mmap() > for that matter) may lead to ->f_count changes, which is *not* the thing > you want to do without big lock.
i don't think it will do this for anonymous maps used by sys_brk().
- Chuck Lever -- corporate: <chuckl@netscape.com> personal: <chucklever@netscape.net> or <cel@monkey.org>
The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |