Messages in this thread | | | From | Andy Lutomirski <> | Date | Wed, 27 Nov 2013 14:21:01 -0800 | Subject | Re: [PATCH] Add a text_poke syscall v2 |
| |
On Wed, Nov 27, 2013 at 2:02 PM, H. Peter Anvin <hpa@zytor.com> wrote: > For the record, this is the entire patch necessary to do the > sync_cores() system call -- and no potential interactions with security > frameworks or whatnot, simply because no security-sensitive operations > are performed of any kind. > > Comments/opinions appreciated.
Presumably, if this were done, it should be merged with the sys_membarrier work. Maybe there should be a syscall for executing some kind of barrier on all cpus that might be looking at the current mm (and, eventually, something for MAP_SHARED as well if anyone cares).
A benefit of the explicit text_poke approach is that it can potentially get MAP_SHARED patching right. I don't know if anyone would ever want to do that, though.
--Andy
| |