Re: [PATCH 1 / ...] i386 dynamic fixup/self modifying code

From: David S. Miller (davem@redhat.com)
Date: Thu Aug 29 2002 - 19:05:51 EST


   From: Pavel Machek <pavel@suse.cz>
   Date: Fri, 30 Aug 2002 01:22:33 +0200

   Aha, making a list and just patching early at boot is even simpler
   than method I was thinking about.... Why not do it that way?

Even more cleverly you could use subsections, and thus:

1) __init free the patch code blocks at the end of boot
2) patch them more simply, the .subsection entries would
   be "kern_addr, insn" __u32 pairs on x86 for example.

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



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:29 EST