Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify thepage directly

From: H. Peter Anvin
Date: Tue Dec 03 2013 - 15:22:45 EST


On 12/03/2013 12:01 PM, Oleg Nesterov wrote:
>
>> followed by whatever synchronization necessary to make it globally visible.
>
> Could you explain what this synchronization should actually do ?
>

That is architecture-dependent. On x86 it requires each CPU on which
this code is visible to be IPId, on others it involves complex icache
flushing protocols.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/