Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH 2/4] arm64: implement support for static call trampolines | Date | Mon, 25 Oct 2021 14:38:38 +0000 |
| |
From: Ard Biesheuvel > Sent: 25 October 2021 15:32 ... > On arm64, we can only patch NOPs into branch instructions or vice > versa, or we'd have to run the whole thing under stop_machine() to > ensure that other cores don't fetch garbage.
Ok, I was thinking it would be safe to patch a single instruction. Clearly you can't patch more than one without danger of 'garbage'.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |