lkml.org 
[lkml]   [2010]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPotential race in irq_chip_set_defaults()?
 irq_chip_set_defaults() modifies the irq_chip structure in-place when
setting up an irq. If that happens on multiple CPUs at once then it
could leave the irq_chip structure in an inconsistent state.

Is there anything preventing that case from happening? There's no
locking, and as far as I know there's no rule forbidding concurrent
calls to set_irq_chip()/irq_chip_set_defaults().

Thanks,
J


\
 
 \ /
  Last update: 2010-09-27 20:09    [W:0.429 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site