> Basically when you reach this chunk of code it is before the hand offDon't you just need a simple recursion counter for this? I cannot think of a reliable simple way to check for this using the instruction pointer. The only way would be to use explicit annotations for all possible code similar to what kprobes does (__kprobes), but that would be hugely intrusive all over the tree. With the recursion counter the only problem would be someone setting a break point on the early notifier code itself that contains a recursion check, but that would be only a few lines of code so the risk of someone setting a break point exactly there would be low. I believe you, but I don't believe that your implementation of this handles all cases. -Andi --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to device for block/paride |
| Henrique de Moraes Holschuh | [RFC] rfkill class rework |
git: | |
| Gerrit Renker | [PATCH 05/37] dccp: Cleanup routines for feature negotiation |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Johann Baudy | Packet mmap: TX RING and zero copy |
| David Miller | [GIT]: Networking |
