The patch titled Subject: kvm: replace test_and_set_bit_le() in mark_page_dirty_in_slot() with set_bit_le() has been added to the -mm tree. Its filename is kvm-replace-test_and_set_bit_le-in-mark_page_dirty_in_slot-with-set_bit_le.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Takuya Yoshikawa <yoshikawa.takuya@xxxxxxxxxxxxx> Subject: kvm: replace test_and_set_bit_le() in mark_page_dirty_in_slot() with set_bit_le() Now that we have defined generic set_bit_le() we do not need to use test_and_set_bit_le() for atomically setting a bit. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@xxxxxxxxxxxxx> Cc: Avi Kivity <avi@xxxxxxxxxx> Cc: Marcelo Tosatti <mtosatti@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- virt/kvm/kvm_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN virt/kvm/kvm_main.c~kvm-replace-test_and_set_bit_le-in-mark_page_dirty_in_slot-with-set_bit_le virt/kvm/kvm_main.c --- a/virt/kvm/kvm_main.c~kvm-replace-test_and_set_bit_le-in-mark_page_dirty_in_slot-with-set_bit_le +++ a/virt/kvm/kvm_main.c @@ -1566,8 +1566,7 @@ void mark_page_dirty_in_slot(struct kvm if (memslot && memslot->dirty_bitmap) { unsigned long rel_gfn = gfn - memslot->base_gfn; - /* TODO: introduce set_bit_le() and use it */ - test_and_set_bit_le(rel_gfn, memslot->dirty_bitmap); + set_bit_le(rel_gfn, memslot->dirty_bitmap); } } _ Patches currently in -mm which might be from yoshikawa.takuya@xxxxxxxxxxxxx are linux-next.patch sfc-use-standard-__clearset_bit_le-functions.patch drivers-net-ethernet-dec-tulip-use-standard-__set_bit_le-function.patch bitops-introduce-generic-clearset_bit_le.patch powerpc-bitops-introduce-clearset_bit_le.patch kvm-replace-test_and_set_bit_le-in-mark_page_dirty_in_slot-with-set_bit_le.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html