Re: [PATCH v2 01/10] string: introduce memweight

2012-06-05 Thread Akinobu Mita
2012/6/4 Jan Kara j...@suse.cz: On Mon 04-06-12 20:46:14, Akinobu Mita wrote: 2012/6/4 Jan Kara j...@suse.cz: On Sat 02-06-12 22:40:07, Akinobu Mita wrote: memweight() is the function that counts the total number of bits set in memory area. áUnlike bitmap_weight(), memweight() takes

Re: [PATCH v2 01/10] string: introduce memweight

2012-06-04 Thread Jan Kara
On Sat 02-06-12 22:40:07, Akinobu Mita wrote: memweight() is the function that counts the total number of bits set in memory area. Unlike bitmap_weight(), memweight() takes pointer and size in bytes to specify a memory area which does not need to be aligned to long-word boundary.

Re: [PATCH v2 01/10] string: introduce memweight

2012-06-04 Thread Akinobu Mita
2012/6/4 Jan Kara j...@suse.cz: On Sat 02-06-12 22:40:07, Akinobu Mita wrote: memweight() is the function that counts the total number of bits set in memory area.  Unlike bitmap_weight(), memweight() takes pointer and size in bytes to specify a memory area which does not need to be aligned to

Re: [PATCH v2 01/10] string: introduce memweight

2012-06-04 Thread Jan Kara
On Mon 04-06-12 20:46:14, Akinobu Mita wrote: 2012/6/4 Jan Kara j...@suse.cz: On Sat 02-06-12 22:40:07, Akinobu Mita wrote: memweight() is the function that counts the total number of bits set in memory area.  Unlike bitmap_weight(), memweight() takes pointer and size in bytes to specify

[PATCH v2 01/10] string: introduce memweight

2012-06-02 Thread Akinobu Mita
memweight() is the function that counts the total number of bits set in memory area. Unlike bitmap_weight(), memweight() takes pointer and size in bytes to specify a memory area which does not need to be aligned to long-word boundary. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Anders