On Sun, 28 Apr 2024, Michael Schmitz wrote:
All I'm saying is that, since you're adding the NOP anyway, you could
make better use of it.
I already am, in __generic_copy_to_user - there is no exception table
entry for the jump label at the end, so no loop.
Right you are. I did get __generic_copy_to_user and __clear_user mixed up
there.
Since I have to fix patch 1 anyway, I'll add the NOP at the end of
__clear_user and have the exception table end with that NOP.
Well, I'll leave that up to you and Geert. I'm ambivalent about that one.