qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] bitmap: refine bitmap_set
@ 2019-07-18  1:04 Wei Yang
  2019-07-18  1:04 ` [Qemu-devel] [PATCH v3 1/2] bitmap: get last word mask from nr directly Wei Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Wei Yang @ 2019-07-18  1:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: quintela, corentincj, pl, peterx, kraxel, pbonzini, Wei Yang

Patch 1 refine bitmap_set a little.
Patch 2 add related test case to bitmap_set.

v3:
  * free bmap
  * all 1's set correctly
  * expand range to 2 long
  * check each possible of offset
  * add a skeleton to test both bitmap_set and bitmap_set_atomic
v2:
  * refine bitmap_set_atomic
  * add a test case

Wei Yang (2):
  bitmap: get last word mask from nr directly
  test-bitmap: add test for bitmap_set

 tests/test-bitmap.c | 55 +++++++++++++++++++++++++++++++++++++++++++++
 util/bitmap.c       |  9 +++-----
 2 files changed, 58 insertions(+), 6 deletions(-)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-08-13 13:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18  1:04 [Qemu-devel] [PATCH v3 0/2] bitmap: refine bitmap_set Wei Yang
2019-07-18  1:04 ` [Qemu-devel] [PATCH v3 1/2] bitmap: get last word mask from nr directly Wei Yang
2019-07-21  0:33   ` Wei Yang
2019-07-21 17:27     ` Paolo Bonzini
2019-07-22  0:29       ` Wei Yang
2019-08-12 16:18   ` Paolo Bonzini
2019-08-13 13:32     ` Wei Yang
2019-07-18  1:04 ` [Qemu-devel] [PATCH v3 2/2] test-bitmap: add test for bitmap_set Wei Yang
2019-07-18  1:45 ` [Qemu-devel] [PATCH v3 0/2] bitmap: refine bitmap_set Peter Xu
2019-07-18  9:53   ` Paolo Bonzini
2019-07-18 11:40 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).