lkml.org 
[lkml]   [2006]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] generic signal code (small new feature - userspace signal mask), kernel 2.6.16
    From
    Date
    On Mon, 2006-10-16 at 15:28 +0200, Andi Kleen wrote:
    > Linus Torvalds <torvalds@osdl.org> writes:
    > >
    > > Why? You're doing user-space accesses from within critical sections with a
    > > spinlock, and that's just a big no-no. Think page faults, swapping etc.
    >
    > He could pin the page in memory like futexes do. One page pinned
    > per thread shouldn't be a big DOS issue either.
    >
    > -Andi

    Whatever the final solution ends up being (assuming this actually goes
    somewhere), it should be extensible enough for other uses (for example,
    some sort of "please don't preempt me right now" hint for use with
    pthread spinlocks.)


    --
    Nicholas Miell <nmiell@comcast.net>

    -
    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-10-17 01:19    [W:0.022 / U:0.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site