Re: [PATCH] KVM: memcg: count KVM page table pages used by KVM in memcg pagetable stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 11, 2022 at 11:20 AM Shakeel Butt <shakeelb@xxxxxxxxxx> wrote:
>
> On Fri, Mar 11, 2022 at 12:12:52AM +0000, Yosry Ahmed wrote:
> > Count the pages used by KVM for page tables in pagetable memcg stats in
> > memory.stat.
>
>
> This is not just the memcg stats. NR_PAGETABLE is exposed in system-wide
> meminfo as well as per-node meminfo. Memcg infrastructure maintaining
> per-memcg (& per-node) NR_PAGETABLE stat should be transparent here.
> Please update your commit message.

Thanks for pointing this out! Updated in v2 patch series.

>
> BTW you are only updating the stats for x86. What about other archs?
> Also does those arch allocated pagetable memory from page allocator or
> kmem cache?
>

v2 patch series includes patches for other archs as well. Thanks!



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux