lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH RFC 0/5] uprobes: kill xol vma
    On 11/29, Srikar Dronamraju wrote:
    >
    > I will apply your patches and test and let you know how it goes. (in a day
    > or two).

    Thanks! please note that 3/5 is wrong, I sent the updated version.
    Or you can add the fix below.

    Oleg.

    --- a/kernel/uprobes.c
    +++ b/kernel/uprobes.c
    @@ -1144,7 +1144,7 @@ bool __weak can_skip_xol(struct pt_regs *regs, struct uprobe *u)
    }

    static unsigned char
    -uprobe_xol_slots[UPROBES_XOL_SLOT_BYTES][NR_CPUS] __page_aligned_bss;
    +uprobe_xol_slots[NR_CPUS][UPROBES_XOL_SLOT_BYTES] __page_aligned_bss;

    void __weak set_xol_ip(struct pt_regs *regs)
    {


    \
     
     \ /
      Last update: 2011-11-29 19:35    [W:4.174 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site