Re: [PATCH] hugetlb_cgroup: fix reservation accounting

2020-10-28 Thread Mina Almasry
On Thu, Oct 22, 2020 at 5:21 AM Michael S. Tsirkin wrote: > > On Wed, Oct 21, 2020 at 01:44:26PM -0700, Mike Kravetz wrote: > > Michal Privoznik was using "free page reporting" in QEMU/virtio-balloon > > with hugetlbfs and hit the warning below. QEMU with free page hinting > > uses

Re: [PATCH] hugetlb_cgroup: fix reservation accounting

2020-10-22 Thread Michael S. Tsirkin
On Wed, Oct 21, 2020 at 01:44:26PM -0700, Mike Kravetz wrote: > Michal Privoznik was using "free page reporting" in QEMU/virtio-balloon > with hugetlbfs and hit the warning below. QEMU with free page hinting > uses fallocate(FALLOC_FL_PUNCH_HOLE) to discard pages that are reported > as free by a

Re: [PATCH] hugetlb_cgroup: fix reservation accounting

2020-10-22 Thread Michal Privoznik
On 10/21/20 10:44 PM, Mike Kravetz wrote: Michal Privoznik was using "free page reporting" in QEMU/virtio-balloon with hugetlbfs and hit the warning below. QEMU with free page hinting uses fallocate(FALLOC_FL_PUNCH_HOLE) to discard pages that are reported as free by a VM. The reporting

[PATCH] hugetlb_cgroup: fix reservation accounting

2020-10-21 Thread Mike Kravetz
Michal Privoznik was using "free page reporting" in QEMU/virtio-balloon with hugetlbfs and hit the warning below. QEMU with free page hinting uses fallocate(FALLOC_FL_PUNCH_HOLE) to discard pages that are reported as free by a VM. The reporting granularity is in pageblock granularity. So when the