Re: [PATCH] kretprobe: kretprobe-booster against 2.6.16-rc1 fori386

From: Andrew Morton
Date: Tue Jan 31 2006 - 17:53:38 EST


Masami Hiramatsu <hiramatu@xxxxxxxxxxxxxxxxx> wrote:
>
> - regs->eip = orig_ret_address;
>
> - reset_current_kprobe();
> spin_unlock_irqrestore(&kretprobe_lock, flags);
> - preempt_enable_no_resched();

Again, the patch removes a preempt_enable() and doesn't add a
preempt_disable(). Maybe this is to balance the earlier patch. If so,
they should both be in the same patch so the kernel works OK at each stage.

You didn't include a description of what this patch actually does.

After all the corrections I'm not terribly confident that the three patches
which I ended up with are correct. Please check them carefully.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/