> 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. UnGood(tm). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- From: Prasanna S Panchamukhi <[email protected]>
- Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- References:
- [0/3] Kprobes: User space probes support
- From: Prasanna S Panchamukhi <[email protected]>
- Re: [1/3 PATCH] Kprobes: User space probes support- base interface
- From: Prasanna S Panchamukhi <[email protected]>
- Re: [2/3 PATCH] Kprobes: User space probes support- readpage hooks
- From: Prasanna S Panchamukhi <[email protected]>
- Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- From: Prasanna S Panchamukhi <[email protected]>
- Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- From: Andrew Morton <[email protected]>
- [0/3] Kprobes: User space probes support
- Prev by Date: [git patches] net driver updates
- Next by Date: Re: TSO and IPoIB performance degradation
- Previous by thread: Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- Next by thread: Re: [3/3 PATCH] Kprobes: User space probes support- single stepping out-of-line
- Index(es):