[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks
From: |
Paolo Bonzini |
Subject: |
Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks |
Date: |
Wed, 6 Dec 2017 14:35:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 06/12/2017 13:15, Christian Borntraeger wrote:
>> a) bumping up KVM_MEM_MAX_NR_PAGES makes sense.
> The original limitation comes from the fact that this define is used to limit
> the number of bits in the dirty bitmap as some architectures do not provide
> bitops beyond 2^32.
>
>> b) as I said, transparently handle it in kvm slot handling code.
> adding Paolo to check what he thinks.
It's a bit of a first-world problem, :) and working around it in QEMU
makes is easy enough that it's okay in my opinion.
Bumping up KVM_MEM_MAX_NR_PAGES if the bitops allows it should be a good
idea too, but it requires auditing the code for overflows and truncations.
Paolo
- [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, Christian Borntraeger, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, David Hildenbrand, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, Christian Borntraeger, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, David Hildenbrand, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, Christian Borntraeger, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, David Hildenbrand, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, Christian Borntraeger, 2017/12/06
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks,
Paolo Bonzini <=
- Re: [qemu-s390x] [PATCH/RFC] s390x: split memory into 4TB chunks, Christian Borntraeger, 2017/12/06