Mathieu Desnoyers
e587cadd8f
x86: enhance DEBUG_RODATA support - alternatives
...
Fix a memcpy that should be a text_poke (in apply_alternatives).
Use kernel_wp_save/kernel_wp_restore in text_poke to support DEBUG_RODATA
correctly and so the CPU HOTPLUG special case can be removed.
Add text_poke_early, for alternatives and paravirt boot-time and module load
time patching.
Changelog:
- Fix text_set and text_poke alignment check (mixed up bitwise and and or)
- Remove text_set
- Export add_nops, so it can be used by others.
- Document text_poke_early.
- Remove clflush, since it breaks some VIA architectures and is not strictly
necessary.
- Add kerneldoc to text_poke and text_poke_early.
- Create a second vmap instead of using the WP bit to support Xen and VMI.
- Move local_irq disable within text_poke and text_poke_early to be able to
be sleepable in these functions.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca >
CC: Andi Kleen <andi@firstfloor.org >
CC: pageexec@freemail.hu
CC: H. Peter Anvin <hpa@zytor.com >
CC: Jeremy Fitzhardinge <jeremy@goop.org >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-04-17 17:40:58 +02:00
..
2008-02-21 15:34:37 -08:00
2008-04-17 17:40:57 +02:00
2007-10-17 21:19:04 +02:00
2008-04-17 17:40:58 +02:00
2008-03-21 17:06:15 +01:00
2008-04-17 17:40:47 +02:00
2008-04-17 17:40:50 +02:00
2008-04-17 17:40:51 +02:00
2008-04-17 17:40:46 +02:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:31 +01:00
2008-01-30 13:33:18 +01:00
2008-02-04 16:47:59 +01:00
2007-10-19 11:53:33 -07:00
2007-12-03 17:17:10 +01:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-04-17 17:40:51 +02:00
2008-04-17 17:40:52 +02:00
2008-04-17 17:40:51 +02:00
2008-01-30 13:33:37 +01:00
2008-02-19 16:18:28 +01:00
2008-02-13 16:20:35 +01:00
2008-01-30 13:31:19 +01:00
2008-02-19 16:18:28 +01:00
2008-02-19 16:18:29 +01:00
2008-02-26 12:55:57 +01:00
2008-01-30 13:33:11 +01:00
2007-10-19 20:35:03 +02:00
2008-02-09 23:24:08 +01:00
2008-04-17 17:40:49 +02:00
2008-04-17 17:40:52 +02:00
2008-04-17 17:40:49 +02:00
2008-04-17 17:40:45 +02:00
2008-04-04 18:36:49 +02:00
2008-01-30 13:30:29 +01:00
2008-04-17 17:40:57 +02:00
2008-01-24 20:40:40 -08:00
2008-02-13 16:20:35 +01:00
2008-02-19 16:18:34 +01:00
2008-01-30 13:33:19 +01:00
2008-02-29 18:55:42 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:32:19 +01:00
2008-03-26 22:23:40 +01:00
2008-01-30 13:33:10 +01:00
2008-04-17 17:40:56 +02:00
2008-04-17 17:40:57 +02:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:32:51 +01:00
2008-02-19 16:18:28 +01:00
2008-02-04 16:48:03 +01:00
2008-02-07 08:42:25 -08:00
2008-04-02 15:28:19 -07:00
2008-04-17 17:40:56 +02:00
2008-04-17 17:40:49 +02:00
2008-03-26 22:23:40 +01:00
2008-02-01 17:49:42 +01:00
2008-04-17 17:40:53 +02:00
2008-04-17 17:40:56 +02:00
2008-04-17 17:40:50 +02:00
2008-02-19 16:18:29 +01:00
2008-02-19 16:18:29 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:32:10 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:20 +01:00
2008-02-05 09:44:11 -08:00
2007-10-17 20:15:51 +02:00
2008-03-22 19:25:41 +01:00
2008-04-04 18:36:46 +02:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:30:18 +01:00
2008-04-17 17:40:49 +02:00
2008-04-17 17:40:49 +02:00
2008-04-17 17:40:45 +02:00
2008-03-21 17:06:15 +01:00
2008-01-30 13:33:36 +01:00
2008-03-21 17:06:15 +01:00
2008-04-17 17:40:47 +02:00
2008-01-31 22:05:45 +01:00
2008-03-21 17:06:15 +01:00
2008-04-17 17:40:52 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:46 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:56 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:57 +02:00
2008-04-17 17:40:55 +02:00
2008-04-17 17:40:55 +02:00
2008-04-17 17:40:57 +02:00
2008-02-26 12:55:58 +01:00
2008-04-03 15:42:43 -07:00
2008-04-17 17:40:57 +02:00
2007-10-17 08:42:55 -07:00
2008-01-30 13:31:07 +01:00
2008-04-17 17:40:48 +02:00
2008-02-05 09:44:07 -08:00
2007-10-17 20:16:12 +02:00
2008-02-06 22:39:45 +01:00
2008-02-14 23:30:20 +01:00
2008-01-30 13:30:56 +01:00
2008-02-08 09:22:29 -08:00
2008-04-17 17:40:56 +02:00
2008-04-17 17:40:56 +02:00
2008-04-10 17:28:26 -07:00
2008-01-30 13:31:52 +01:00
2008-02-19 16:18:30 +01:00
2008-02-04 16:48:01 +01:00
2008-02-04 16:48:01 +01:00
2008-04-17 17:40:51 +02:00
2008-02-14 23:30:19 +01:00
2008-04-17 17:40:52 +02:00
2008-04-07 21:09:14 +02:00
2008-01-30 13:33:24 +01:00
2008-04-17 17:40:50 +02:00
2008-02-04 16:47:54 +01:00
2008-01-30 13:33:14 +01:00
2008-04-17 17:40:47 +02:00
2008-04-17 17:40:47 +02:00
2008-04-17 17:40:50 +02:00
2008-02-29 18:55:39 +01:00
2008-04-17 17:40:48 +02:00