[lkml]   [2008]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [regression] Latest git has WARN_ON storm with e1000e driver
    Am Freitag, 3. Oktober 2008 schrieben Sie:
    > Which spinlock is it? It sure shouldn't be anything in the generic drievr
    > layer: __driver_attach takes a lock, but it's a semaphore (dev->sem), not
    > a spinlock. In fact, al lot of drivers will sleep or do allocations, so if
    > the driver layer were to call the probe function with a spinlock held,
    > things would be really broken.
    > The callchain has "spin_lock_irqsave" in it, but that's stale stack data.

    Very good point indeed. Seems my analysis was wrong. I made a short test and
    preempt_count() returns 1 when the WARN_ON triggers. So its either a spinlock
    or something else that increased my preempt_count.

     \ /
      Last update: 2008-10-03 17:25    [W:0.029 / U:70.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site