[lkml]   [1999]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SMP race in page IO list

On Mon, 19 Apr 1999 08:39:07 +0200 (CEST), Patrik Rak <>

> 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.


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