[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCHv2] kprobes: Introduce is_kprobe_fault()

    Thank you for good work!

    Harvey Harrison wrote:
    > Use a central is_kprobe_fault() inline in kprobes.h to remove all
    > of the arch-dependant, practically identical implementations in
    > avr32, ia64, powerpc, s390, sparc64, and x86.
    > avr32 was the only arch without the preempt_disable/enable pair
    > in its notify_page_fault implementation.
    > This uncovered a possible bug in the s390 version as that purely
    > copied the x86 version unconditionally passing 14 as the trapnr
    > rather than the error_code parameter.
    > Signed-off-by: Harvey Harrison <>

    I tested it on x86-64.

    Acked-by: Masami Hiramatsu <>

    Masami Hiramatsu

    Software Engineer
    Hitachi Computer Products (America) Inc.
    Software Solutions Division


     \ /
      Last update: 2008-01-08 18:07    [W:0.024 / U:106.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site