lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 6 Aug 2011 19:03:53 -0700
From:	Venkat Subbiah <v.subbiah@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: preempt_disable and softirq

Does disabling preemption by calling preempt_disable() cause softirqs
on the local cpu to be disabled too?

I believe drivers napi polling functions is being called when the
current cpu is holding on to a read lock of tasklist_lock. read_lock()
itself disables preemption.

An easy way to check in the napi polling functions that the current
cpu is not holding on to tasklist_lock? Of course this is mute if
softirqs itself cannot execute when premption is disabled.

PS: I am not subscribed to the groups. Please CC me on your answer.

Thanks,
Venkat
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ