Messages in this thread | | | Subject | Re: [PATCH] paravirt.h | From | Andi Kleen <> | Date | 22 Aug 2006 22:16:56 +0200 |
| |
Zachary Amsden <zach@vmware.com> writes: > > That is a really nasty problem. You need a synchronization primitive > which guarantees a flat stack, so you can't do it in the interrupt > handler as I have tried to do. I'll bang my head on it awhile. In > the meantime, were there ever any solutions to the syscall patching > problem that might lend me a clue as to what to do (or not to do, or > impossible?).
stop_machine_run() solves the problem I think. It is currently not exported though. I don't think there's anything in there that couldn't be reimplemented in a module, but then we could also just export it if there's a useful user.
-Andi - 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/
| |