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] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 8 May 2013 09:59:11 +0900
From:	"Chanho Min" <chanho.min@....com>
To:	anish singh <anish198519851985@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Nadia Yvette Chambers <nyc@...omorphy.com>,
	Jiri Kosina <jkosina@...e.cz>, Joe Perches <joe@...ches.com>,
	linux-kernel-mail <linux-kernel@...r.kernel.org>
Subject: Re : Re: [PATCH RESEND v3] bitmap: speed up bitmap_find_free_region


>> Test case 1: order is 0. all bits are one except that last one bit is zero.
>>  before patch: 29727 ns
>>  after patch: 2349 ns
>How did you find out this time?Can  you please post your code
>for that?
I used local_clock(), But, It may be more proper way for each system.

 before = local_clock();
 bitmap_find_free_region(bitmap, 1024,0);
 after = local_clock();

Chanho Min,

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