Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1590503
| From | Radim Krčmář <rkrcmar@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/5] KVM: rename API for requests to match bit operations |
| Date | 2017-03-01 17:50 +0100 |
| Message-ID | <tgfBT-5HN-1@gated-at.bofh.it> (permalink) |
| References | <teuc1-4Ze-5@gated-at.bofh.it> <teuc1-4Ze-3@gated-at.bofh.it> <tfqpI-45z-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2017-02-27 10:54+0100, David Hildenbrand: > Am 24.02.2017 um 20:49 schrieb Radim Krčmář: >> kvm_make_request was a wrapper that added barriers to set_bit and >> kvm_check_request did the same for test_bit and check_bit, but the name >> was not very obvious. >> >> The renaming: >> kvm_request_set <- kvm_make_request >> kvm_request_test_and_clear <- kvm_check_request >> > > What about kvm_req_set() / kvm_req_test_and_clear() > Matches the request bit definitions (KVM_REQ_*) and saves a couple of > characters. Good point. I prefer to avoid abbreviations, but can be easily convinced on this. > Anyhow > > Reviewed-by: David Hildenbrand <david@redhat.com> I'll do nothing for now as it would just spin another round of reviews. Thanks.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 1/5] KVM: rename API for requests to match bit operations Radim Krčmář <rkrcmar@redhat.com> - 2017-03-01 17:50 +0100
csiph-web