Re: [PATCH x86_64] Live Patching Function on 2.6.11.7

From: Bodo Eggert <harvested.in.lkml@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Apr 18 2005 - 06:01:37 EST


Takashi Ikebe <ikebe.takashi@xxxxxxxxxxxxx> wrote:

> systr_pmem_read() and systr_pmem_write() just calls ptrace
> PTRACE_PEEKTEXT/DATA repeatedly.... In this case we need to *stop* target
> process whenever patch modules is loading....

You'll have to do that anyway, since you'll need to atomically store two
machine words. At least you'll have to lock access to the corresponding
memory page(s).
--
Error, no keyboard -- press F1 to continue.

Friß, Spammer: 6pr@xxxxxxxxxxxxxxxxxxxxxx root@xxxxxxxx
antisemitic@xxxxxxxxxxx Harvardizes@xxxxxxxxxxxxx Mavis@xxxxxxxxxxxxx
-
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/