[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172921605188.361223.17436309372879358744.b4-ty@kernel.dk>
Date: Thu, 17 Oct 2024 19:47:31 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Phillip Potter <phil@...lpotter.co.uk>,
Josh Poimboeuf <jpoimboe@...nel.org>
Cc: linux-kernel@...r.kernel.org, Jordy Zomer <jordyzomer@...gle.com>
Subject: Re: [PATCH] cdrom: Avoid barrier_nospec() in
cdrom_ioctl_media_changed()
On Thu, 17 Oct 2024 15:09:02 -0700, Josh Poimboeuf wrote:
> The barrier_nospec() after the array bounds check is overkill and
> painfully slow for arches which implement it.
>
> Furthermore, most arches don't implement it, so they remain exposed to
> Spectre v1 (which can affect pretty much any CPU with branch
> prediction).
>
> [...]
Applied, thanks!
[1/1] cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed()
commit: b0bf1afde7c34698cf61422fa8ee60e690dc25c3
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists