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]
Date:	Tue, 23 Jan 2007 13:42:24 +0100
From:	"Thibaut VARENE" <T-Bone@...isc-linux.org>
To:	"Dale Farnsworth" <dale@...nsworth.org>
Cc:	"Jarek Poplawski" <jarkao2@...pl>, netdev@...r.kernel.org,
	mlachwani@...sta.com
Subject: Re: [PATCH] Re: kernel BUG in eth_alloc_tx_desc_index at drivers/net/mv643xx_eth.c:1069!

On 1/23/07, Thibaut VARENE <T-Bone@...isc-linux.org> wrote:
> - As Jarek pointed out, you're checking twice the value of
> mp->tx_desc_count, which means dereferencing a pointer and accessing
> memory twice. I don't know how perf-critical this bit of code is, but
> I wonder which of keeping the lock for a long time or doing what you
> is better (I'm being anal and you probably know that better than me :)

Forget that. That's an irq disabling lock, it's worse than anything else :)

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
-
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