On Thu, Nov 21, 2024 at 12:00:20PM +0100, Peter Zijlstra wrote:
But yeah, this is not quite the same as not marking anything and simply forcing the IPI when the target address is noinstr.
And having written all that; perhaps that is the better solution, it sticks the logic in text_poke and ensure it automagically work for all its users, obviating the need for special marking.
Is that what you were thinking?
Yes, though I can't take credit for the idea as that's what I thought you were suggesting! That seems simpler and more bulletproof.