Re: prev->has_cpu

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


On Fri, 13 Nov 1998, Andrea Arcangeli wrote:
>
> Does this patch make sense or I have slept too little this night ;-)?

The patch has a serious bug: it marks the new CPU too late (after the
switch). That, in turn, means that if any interrupts come in at a bad time
that want to look at the CPU number, they get a stale value.

Why would you want to move the setting?

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/