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-prev] [day] [month] [year] [list]
Message-ID: <20081019170032.GG20815@postel.suug.ch>
Date:	Sun, 19 Oct 2008 19:00:33 +0200
From:	Thomas Graf <tgraf@...g.ch>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] pkt_sched: Control group classifier

* Andi Kleen <andi@...stfloor.org> 2008-10-18 07:38
> On Fri, Oct 17, 2008 at 10:09:16PM +0200, Thomas Graf wrote:
> > * Andi Kleen <andi@...stfloor.org> 2008-10-17 20:32
> > > > softirq_count() simply counts the levels of bh disable.
> > > 
> > > softirqs always have bh disabled.  So it's always true inside them.
> > > And you should know what _bh locks you hold.
> > 
> > I actually tried "softirq_count() == SOFTIRQ_OFFSET" to see if the
> 
> softirq_count() > 0 should work.

No, it doesn't. User context calls to dev_queue_xmit() will also
disable bh and thus softirq_count() will always be > 0.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ