Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703092

Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock

From Jiri Kosina <jikos@kernel.org>
Newsgroups linux.kernel
Subject Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock
Date 2017-08-03 15:10 +0200
Message-ID <uao32-n3-29@gated-at.bofh.it> (permalink)
References (1 earlier) <uaksq-6mu-11@gated-at.bofh.it> <uakVs-6xq-21@gated-at.bofh.it> <ualeQ-6Uy-55@gated-at.bofh.it> <uamDU-7Ls-25@gated-at.bofh.it> <uamDU-7Ls-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 3 Aug 2017, Jiri Kosina wrote:

> > I see the workqueue allocation you mentioned.  I'll try to move this 
> > allocation out of the mutex and see how it goes.
> 
> I have been briefly looking into this as well -- it'll basically have to 
> be moved out of the trans_pcie->mutex context, but
> 
> (a) I'm not sure whether that's actually safe
> (b) iwl_pcie_rx_reuse_rbd() (which is where corresponding work is being 
>     queued) is not a proper context either (it's atomic context)

Actually moving it out of trans_pcie->mutex is likely not to be enough, 
the dependency would still be there, just the graph will have one vertex 
less, with the dependency going directly from mvm mutex to 
cpu_hotplug_lock.

-- 
Jiri Kosina
SUSE Labs

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 11:20 +0200
  Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex  and tz->lock "Coelho, Luciano" <luciano.coelho@intel.com> - 2017-08-03 11:50 +0200
    Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Kalle Valo <kvalo@codeaurora.org> - 2017-08-03 12:10 +0200
      Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex  and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 13:40 +0200
        Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex  and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 15:10 +0200
      Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex  and tz->lock "Coelho, Luciano" <luciano.coelho@intel.com> - 2017-08-03 13:40 +0200

csiph-web