Re: global kernel lock

Linus Torvalds (torvalds@transmeta.com)
Fri, 13 Nov 1998 14:44:14 -0800 (PST)


On Fri, 13 Nov 1998, Andi Kleen wrote:
>
> There seems to be another race: running do_anonymous_page outside the global
> lock relies on put_page/set_pte being atomic.

Well, it doesn't, really. It does rely on set_pte() being one single
memory operation, but it doesn't require it to actually be synchronized
with other CPU's (it's ok if another CPU sees the old zero value).

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/