[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100925192509.GX19804@ZenIV.linux.org.uk>
Date: Sat, 25 Sep 2010 20:25:09 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: rth@...ddle.net, linux-kernel@...r.kernel.org
Subject: Re: alpha: potential race around hae_cache in RESTORE_ALL
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists