Thread (21 messages) read the whole thread 21 messages, 6 authors, 2019-06-05

Re: [RFC 2/6] ipv4: add lockdep condition to fix for_each_entry

From: Pavel Machek <hidden>
Date: 2019-06-03 06:42:20
Also in: linux-acpi, linux-pci, linux-pm, lkml, rcu

On Sun 2019-06-02 08:24:35, Joel Fernandes wrote:
On Sun, Jun 2, 2019 at 8:20 AM Joel Fernandes [off-list ref] wrote:
quoted
On Sun, Jun 2, 2019 at 3:00 AM Pavel Machek [off-list ref] wrote:
quoted
On Sat 2019-06-01 18:27:34, Joel Fernandes (Google) wrote:
quoted
Signed-off-by: Joel Fernandes (Google) <redacted>
This really needs to be merged to previous patch, you can't break
compilation in middle of series...

Or probably you need hlist_for_each_entry_rcu_lockdep() macro with
additional argument, and switch users to it.
Good point. I can also just add a temporary transition macro, and then
remove it in the last patch. That way no new macro is needed.
Actually, no. There is no compilation break so I did not follow what
you mean. The fourth argument to the hlist_for_each_entry_rcu is
optional. The only thing that happens is new lockdep warnings will
arise which later parts of the series fix by passing in that fourth
argument.
Sorry, I missed that subtlety. Might be worth it enabling the lockdep
warning last in the series...

								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help