Skip to content

bitmap: refine bitmap_set

Wei Yang qemu-devel 4 versions – Applied

Status from this message: Queued for 4.2, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesApplied
  2. v22 patches 2 repliesSuperseded
  3. v1 posting 2/21 patch 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 posting 1/21 patch1 replySuperseded

Changes in v3 from the cover letter

* 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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2bitmap: get last word mask from nr directlyutil/bitmap.c+3 -65 replies
2/2test-bitmap: add test for bitmap_settests/test-bitmap.c+55 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Xu
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] bitmap: refine bitmap_set

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(-)
Signature · 1 line
2.17.1