Files
kernel_arpi/include/linux
Yosry Ahmed 2af25795b7 BACKPORT: KVM: x86/mmu: count KVM mmu usage in secondary pagetable stats.
Count the pages used by KVM mmu on x86 in memory stats under secondary
pagetable stats (e.g. "SecPageTables" in /proc/meminfo) to give better
visibility into the memory consumption of KVM mmu in a similar way to
how normal user page tables are accounted.

Add the inner helper in common KVM, ARM will also use it to count stats
in a future commit.

Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Acked-by: Marc Zyngier <maz@kernel.org> # generic KVM changes
Link: https://lore.kernel.org/r/20220823004639.2387269-3-yosryahmed@google.com
Link: https://lore.kernel.org/r/20220823004639.2387269-4-yosryahmed@google.com
[sean: squash x86 usage to workaround modpost issues]
Signed-off-by: Sean Christopherson <seanjc@google.com>

Bug: 222044477
(cherry picked from commit 43a063cab325ee7cc50349967e536b3cd4e57f03)
[vdonnefort@: Fix conflicts in mmu.c and tdp_mmu.c]
Change-Id: I9b81155758e513504a87ea2d634f341652ed0630
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
2022-11-23 17:11:25 +00:00
..
2022-07-13 11:40:42 +02:00
2022-09-24 14:14:08 +02:00
2022-09-24 10:03:40 +02:00
2022-08-17 14:23:11 +02:00
2022-10-26 12:35:12 +02:00
2022-09-24 10:01:28 +02:00
2022-11-18 22:29:39 +00:00
2022-11-16 10:04:35 +00:00
2022-06-14 11:49:05 +02:00
2022-07-07 17:53:26 +02:00
2022-07-13 11:55:41 +02:00
2022-11-15 16:38:36 +00:00
2022-11-02 08:51:19 +01:00
2022-07-13 11:55:41 +02:00
2022-08-17 14:24:08 +02:00
2022-07-12 16:35:08 +02:00
2022-09-24 10:01:28 +02:00
2022-06-09 10:23:32 +02:00
2022-09-24 10:01:28 +02:00
2022-07-13 11:55:41 +02:00
2022-06-06 15:02:31 +02:00
2022-11-15 12:48:44 +00:00
2022-07-13 18:42:42 +02:00
2022-07-02 16:41:17 +02:00
2022-08-04 15:18:41 +02:00
2022-11-02 08:51:19 +01:00
2022-07-12 16:35:08 +02:00
2022-11-02 08:51:19 +01:00
2022-11-02 08:51:19 +01:00
2022-07-29 17:25:32 +02:00
2022-09-15 11:30:05 +02:00
2022-09-24 10:03:40 +02:00
2022-07-13 19:41:43 +02:00
2022-09-21 17:30:12 +02:00