[lkml]   [2005]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kmalloc without GFP_xxx?

    On Thu, 30 Jun 2005, Benjamin Herrenschmidt wrote:

    > There are cases where using spin_lock instead of _irqsave version is a
    > matter of correctness. For example, the page table lock beeing always
    > taking without _irq is important to let the IPIs flow.

    There's always exceptions! ;-)

    As Jörn mentioned, you don't just use spin_lock_irqsave just to keep from
    thinking, which I totally agree, but most of the time I use spin_locks, it
    is better to not let interrupts flow, and for this reason, I try to keep
    the places that use spin_locks as short as possible, since I don't want
    100ms latencies.

    -- Steve

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-06-30 08:07    [W:0.019 / U:74.464 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site