Thread (7 messages) flat view 7 messages, 3 authors, 2020-11-24

Re: [PATCH net-next v2 1/2] lockdep: Introduce in_softirq lockdep assert

From: Yunsheng Lin <hidden>
Date: 2020-11-24 10:31:30
Also in: lkml

On 2020/11/24 16:11, Peter Zijlstra wrote:
On Mon, Nov 23, 2020 at 12:12:59PM -0800, Jakub Kicinski wrote:
quoted
One liner would be:

	* Acceptable for protecting per-CPU resources accessed from BH
	
We can add:

	* Much like in_softirq() - semantics are ambiguous, use carefully. *


IIUC we basically want to protect the nc array and counter here:
Works for me, thanks!
Will add the above comment in v3.

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