* Re: [PATCH v2 11/20] kvm: rename pfn_t to kvm_pfn_t
[not found] ` <CAPcyv4jOtDfOZAQB7WN3MWQMPwkZmsZczrmK7=YxDy63ZRSiAw@mail.gmail.com>
@ 2015-10-12 12:51 ` Paolo Bonzini
2015-10-12 16:16 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2015-10-12 12:51 UTC (permalink / raw)
To: Dan Williams
Cc: linux-nvdimm@lists.01.org, Dave Hansen, Russell King, Linux MM,
Gleb Natapov, Catalin Marinas, Will Deacon,
linux-kernel@vger.kernel.org, Ralf Baechle, Marc Zyngier,
Paul Mackerras, Christoffer Dall, Benjamin Herrenschmidt,
Ross Zwisler, Christoph Hellwig, Alexander Graf, KVM list
On 10/10/2015 22:57, Dan Williams wrote:
> On Sat, Oct 10, 2015 at 1:35 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> On 10/10/2015 02:56, Dan Williams wrote:
>>> The core has developed a need for a "pfn_t" type [1]. Move the existing
>>> pfn_t in KVM to kvm_pfn_t [2].
>>>
>>> [1]: https://lists.01.org/pipermail/linux-nvdimm/2015-September/002199.html
>>> [2]: https://lists.01.org/pipermail/linux-nvdimm/2015-September/002218.html
>>
>> Can you please change also the other types in include/linux/kvm_types.h?
>
> Hmm, all those seem kvm specific already. I'd only prefix them with
> kvm_ if they collided with a "core" type.
But they are all related and the code becomes uglier if you only prefix
one of them. If you don't convert all of them, I will do it anyway as
soon as this patch get in.
Since it touches a lot of KVM files, we should synchronize in order to
avoid conflicts and gnashing of teeth. What tree is this patch going
in? You could provide me a commit SHA1 for this patch (well, its
definitive version) based on Linus's tree (so that I can merge it in my
tree as well), or I could commit it and provide the SHA1 to the
maintainer of said tree.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2 11/20] kvm: rename pfn_t to kvm_pfn_t
2015-10-12 12:51 ` [PATCH v2 11/20] kvm: rename pfn_t to kvm_pfn_t Paolo Bonzini
@ 2015-10-12 16:16 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2015-10-12 16:16 UTC (permalink / raw)
To: Paolo Bonzini
Cc: linux-nvdimm@lists.01.org, Dave Hansen, Russell King, Linux MM,
Gleb Natapov, Catalin Marinas, Will Deacon,
linux-kernel@vger.kernel.org, Ralf Baechle, Marc Zyngier,
Paul Mackerras, Christoffer Dall, Benjamin Herrenschmidt,
Ross Zwisler, Christoph Hellwig, Alexander Graf, KVM list
On Mon, Oct 12, 2015 at 5:51 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
> On 10/10/2015 22:57, Dan Williams wrote:
>> On Sat, Oct 10, 2015 at 1:35 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> On 10/10/2015 02:56, Dan Williams wrote:
>>>> The core has developed a need for a "pfn_t" type [1]. Move the existing
>>>> pfn_t in KVM to kvm_pfn_t [2].
>>>>
>>>> [1]: https://lists.01.org/pipermail/linux-nvdimm/2015-September/002199.html
>>>> [2]: https://lists.01.org/pipermail/linux-nvdimm/2015-September/002218.html
>>>
>>> Can you please change also the other types in include/linux/kvm_types.h?
>>
>> Hmm, all those seem kvm specific already. I'd only prefix them with
>> kvm_ if they collided with a "core" type.
>
> But they are all related and the code becomes uglier if you only prefix
> one of them. If you don't convert all of them, I will do it anyway as
> soon as this patch get in.
Ok.
> Since it touches a lot of KVM files, we should synchronize in order to
> avoid conflicts and gnashing of teeth. What tree is this patch going
> in? You could provide me a commit SHA1 for this patch (well, its
> definitive version) based on Linus's tree (so that I can merge it in my
> tree as well), or I could commit it and provide the SHA1 to the
> maintainer of said tree.
The kvm_pfn_t conversion is only needed if the new pfn_t
infrastructure moves forward, and at this point it still needs some
review feedback.
How about this, care to send conversion patches for the rest? ...based on:
https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git/log/?h=libnvdimm-pending
When/if the new pfn_t bits move forward I'll carry them in the same
pull request through the nvdimm.git tree.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-12 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20151010005522.17221.87557.stgit@dwillia2-desk3.jf.intel.com>
[not found] ` <20151010005622.17221.44373.stgit@dwillia2-desk3.jf.intel.com>
[not found] ` <561976AC.6000003@redhat.com>
[not found] ` <CAPcyv4jOtDfOZAQB7WN3MWQMPwkZmsZczrmK7=YxDy63ZRSiAw@mail.gmail.com>
2015-10-12 12:51 ` [PATCH v2 11/20] kvm: rename pfn_t to kvm_pfn_t Paolo Bonzini
2015-10-12 16:16 ` Dan Williams
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).