Re: 2.4.23aa2 (bugfixes and important VM improvements for the highend)

From: Rik van Riel
Date: Thu Mar 04 2004 - 22:44:15 EST


On Fri, 5 Mar 2004, Andrea Arcangeli wrote:
> On Thu, Mar 04, 2004 at 05:14:30PM -0500, Rik van Riel wrote:
> > > or maybe you mean the page_table_lock hold during copy-user that Andrew
> > > mentioned? (copy-user doesn't mean "all VM operations" not sure if you
> > > meant this or the usual locking of every 2.4/2.6 kernel out there)
> >
> > True, there are some other operations. However, when
>
> could you name one that is serialized in 4:4 and not in 3:1 with an mm
> lock? just curious. there are tons of VM operations serialized by the
> page_table_lock that hurts with threads in 3:1 too. I understood only
> copy-user needs the additional locking.

Yeah, in case of a threaded workload you're right.

For a many-processes workload the locking optimisations
definately made a different, IIRC.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/