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:	Thu, 21 Oct 2010 21:12:47 -0400
From:	Kyle McMartin <kyle@...artin.ca>
To:	Phil Carmody <ext-phil.2.carmody@...ia.com>
Cc:	kyle@...artin.ca, deller@....de, jejb@...isc-linux.org,
	linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] PARISC: unwind - optimise linked-list searches for
 modules

On Fri, Sep 10, 2010 at 01:47:59PM +0300, Phil Carmody wrote:
> Having many dozens of modules, the searches down the linked
> list of sections would dominate the lookup time, dwarfing
> any savings from the binary search within the section.
> 
> A simple move-to-front optimisation exploits the commonality
> of the code paths taken, and in simple real-world tests
> on other architectures reduced the number of steps in the
> search to barely more than 1.
> 

Applied, thanks.

--kyle
--
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