Re: Strange interrupt behaviour

Andi Kleen (ak@muc.de)
12 Jul 1998 23:23:51 +0200


Perry Harrington <pedward@sun4.apsoft.com> writes:

> After looking at "do_switch", I had a question:
>
> Is do_switch SMP safe??? I don't see any locking
> or coherency checking done here.

The dcache code currently always runs inside the global kernel lock so
this is no problem for 2.1/2.2

When this will change in 2.3 then probably adding a per dentry
rwlock is needed.

-Andi

-
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.altern.org/andrebalsa/doc/lkml-faq.html