Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590503 > unrolled thread

Re: [PATCH v2 1/5] KVM: rename API for requests to match bit operations

Started byRadim Krčmář <rkrcmar@redhat.com>
First post2017-03-01 17:50 +0100
Last post2017-03-01 17:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#1590503 — Re: [PATCH v2 1/5] KVM: rename API for requests to match bit operations

FromRadim Krčmář <rkrcmar@redhat.com>
Date2017-03-01 17:50 +0100
SubjectRe: [PATCH v2 1/5] KVM: rename API for requests to match bit operations
Message-ID<tgfBT-5HN-1@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web