lkml.org 
[lkml]   [1999]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: SMP race in page IO list
Hi,

On Mon, 19 Apr 1999 08:39:07 +0200 (CEST), Patrik Rak <patrik@ein.cz>
said:

> But I was thinking about concurrent put_pio_requests (each on
> different CPU) and put_pio_request vs get_pio_request (also on
> different CPUs). Obviously, if all put_pio_requests are also
> protected by kernel lock, things work fine, but is this really true?
> That's my question...

Yes, pretty much the whole VM is protected by that lock. The only bits
which aren't are protected by the mutex on the current process's memory
management structures, but that's mostly limited to some bits of the
page fault code. All of the swap code runs under the kernel lock, with
no exceptions.

--Stephen

-
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:51    [W:0.045 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site