lkml.org 
[lkml]   [2010]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lockdep warning: events vs. bd_mutex
Hello,

On 09/14/2010 09:27 AM, KOSAKI Motohiro wrote:
> lru_add_drain_all() wait system_wq.
>
> Probably we have four choice.
> 1) simple revert buggy patch (I don't know how much serious original issue)
> 2) ata_scsi_dev_rescan() doesn't use system_wq
> 3) lru_add_drain_all() doesn't use system_wq
> 4) make IPI version lru_add_drain_all()
>
> I'd like to hear Tejun's opinion.

Yeah, it was reported before. The warning is bogus at this point.
The right thing to do would be improving lockdep annotation in
workqueue code but for now the easiest way out would be simply using
one of other system workqueues. I'll look into it.

Thanks.

--
tejun


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