lkml.org 
[lkml]   [2006]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/7] introduce atomic_dec_and_lock_irqsave()
    Hi,

    On Wed, 30 Aug 2006, Oleg Nesterov wrote:

    > > Why does this need protection against interrupts?
    >
    > uidhash_lock can be taken from irq context. For example, delayed_put_task_struct()
    > does __put_task_struct()->free_uid().

    AFAICT it's called via rcu, does that mean anything released via rcu has
    to be protected against interrupts?

    bye, Roman
    -
    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-08-30 12:55    [W:0.020 / U:1.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site