lkml.org 
[lkml]   [1999]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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: <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/

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