lkml.org 
[lkml]   [2006]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
    From
    Date
    On Mon, 2006-03-20 at 19:35 +0530, Prasanna S Panchamukhi wrote:
    > On Mon, Mar 20, 2006 at 12:24:01PM +0100, Arjan van de Ven wrote:
    > >
    > > Lines: 16
    > >
    > > > And we'll need to actually *be* in-atomic. That means we need an
    > > > open-coded inc_preempt_count() and dec_preempt_count() in there and I don't
    > > > see them.
    > > >
    > >
    > > ..
    > >
    > > > Why is VM_LOCKED being set? (It needs a comment).
    > > >
    > > > Where does it get unset?
    > >
    > >
    > > if this is an attempt to make the copy_in_atomic to be atomic, then it
    > > is a bug; the user can unset this bit after all via mprotect, even from
    > > another thread, and concurrently. U
    >
    > You are right, the purpose was to make copy_to_user_inatomic() to suceed. I
    > need to look at this issue again. Any suggestions?

    get_user_pages seems to be the only viable API for this..


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-20 15:20    [W:0.019 / U:29.812 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site