lkml.org 
[lkml]   [2008]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: Use is_kprobe_fault to better match usage

* Harvey Harrison <harvey.harrison@gmail.com> wrote:

> Currently the notify_page_fault helper is used to test it the page
> fault was caused by a kprobe causing an early return from
> do_page_fault.
>
> Change the name of the helper to is_kprobe_fault to match the usage
> and remove the preempt_disable/enable pair around kprobe_running()
> with an explicit test for preemption. The idea for this comes from a
> patch by Quentin Barnes to kprobes.c
>
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

hm, this doesnt apply:

Hunk #3 FAILED at 426.
Hunk #4 succeeded at 413 (offset -22 lines).
1 out of 4 hunks FAILED -- rejects in file arch/x86/mm/fault_32.c
patching file arch/x86/mm/fault_64.c
Hunk #3 FAILED at 476.
Hunk #4 succeeded at 475 (offset -10 lines).
1 out of 4 hunks FAILED -- rejects in file arch/x86/mm/fault_64.c

could you double-check x86.git#mm, perhaps we are out of sync with a
patch somewhere?

Ingo


\
 
 \ /
  Last update: 2008-01-03 10:41    [W:0.037 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site