Re: alpha: potential race around hae_cache in RESTORE_ALL

From: Al Viro
Date: Sat Sep 25 2010 - 15:25:20 EST


On Sat, Sep 25, 2010 at 08:18:36PM +0100, Al Viro wrote:
> Agreed. There are only two places that need change (return to kernel path
> in ret_from_syscall and kernel_thread essentially jumping to the same path),
> so I'll just add
> ret_to_kernel:
> lda $16, 7
> call_pal PAL_swpipl
> br restore_all
> and make these two places go to ret_to_kernel instead of restore_all.

BTW, am I right assuming that HAE modifications is UP-only thing? It would
be obviously b0rken on any SMP box, since alpha_mv is not per-CPU thing...
--
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/