lkml.org 
[lkml]   [2021]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 3/3] KVM: x86/mmu: Add detailed page size stats
>
> Looks good, but you'll probably need/want to rebase to kvm/queue once that settles
> down (I suspect a forced push is coming this week). This has quite a few conflicts
> with other stuff sitting in kvm/queue.

will do.

> > @@ -235,9 +235,12 @@ const struct _kvm_stats_desc kvm_vm_stats_desc[] = {
> > STATS_DESC_COUNTER(VM, mmu_recycled),
> > STATS_DESC_COUNTER(VM, mmu_cache_miss),
> > STATS_DESC_ICOUNTER(VM, mmu_unsync),
> > - STATS_DESC_ICOUNTER(VM, lpages),
> > STATS_DESC_ICOUNTER(VM, nx_lpage_splits),
> > - STATS_DESC_PCOUNTER(VM, max_mmu_page_hash_collisions)
> > + STATS_DESC_PCOUNTER(VM, max_mmu_page_hash_collisions),
> > + STATS_DESC_ICOUNTER(VM, pages_4k),
> > + STATS_DESC_ICOUNTER(VM, pages_2m),
> > + STATS_DESC_ICOUNTER(VM, pages_1g),
> > + STATS_DESC_ICOUNTER(VM, pages_512g)
>
> Uber nit that I wouldn't even have noticed if this didn't conflict, but there's
> no need to land the union and the stats definitions at the end of the structs,
> i.e. the new fields can directly replace lpages. I don't think it will actually
> avoid a conflict, but it would avoid modifying the max_mmu_page_hash_collisions
> line.
>

ah, so I will just remove 'lpages' and put new lines in place instead
appending those at the end. Yeah, I did not know that it can create
conflicts. So, I will change that.

\
 
 \ /
  Last update: 2021-08-03 01:47    [W:0.064 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site