On Wed, Jun 08, 2022 at 01:02:21PM +0100, Russell King (Oracle) wrote: > Note that simply devolving the operations to this set is not optimal. > If you notice, both my email and the table that was copied from my > email makes two of the invalidate options dependent on the properties > of the CPU cache architecture. Yes, but that is nothing we can't do with a little optional arch tunable. The whole point is that most architectures simply copy and paste in the best case or get it wrong. So I'd have a nicely working piece of generic code which is a win even if we still need to override it in one or two places.