[lkml]   [1999]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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: <>
personal: <> or <>

The Linux Scalability project:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [W:0.080 / U:2.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site