lkml.org 
[lkml]   [1999]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] shm bug introduced with pagecache in 2.3.11


On Fri, 12 Nov 1999, Manfred wrote:
>
> I don't like the semaphore, because (AFAICS, I'm only looking at the diff)
> you single-thread the swapin code (per-segment, but still single thread)

I think the semaphore is a good idea, if only because it makes things much
more obviously correct - exactly because of the clear serialization. And I
don't think the serialization is a performance problem, because by the
time you start paging we're not talking about high performance shared
memory anyway, and because it's per-segment it is notgoing to make
"system" performance any worse.

In fact, my reaction to the semaphore is "do we actually need the
spinlock any more"?

Linus


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