Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [patch 5/8] Immediate Values - x86 Optimization | Date | Thu, 15 Nov 2007 14:08:45 +1100 |
| |
On Wednesday 14 November 2007 05:58:05 Mathieu Desnoyers wrote: > x86 optimization of the immediate values which uses a movl with code > patching to set/unset the value used to populate the register used as > variable source.
For the record, I think the patching code gross overkill.
A stop_machine (or lightweight variant using IPI) would be sufficient and vastly simpler. Trying to patch NMI handlers while they're running is already crazy.
I'd keep this version up your sleeve for they day when it's needed.
Rusty. - 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/
| |