diff options
| author | Joerg Roedel <[email protected]> | 2024-04-26 12:54:13 +0200 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-04-26 12:54:13 +0200 |
| commit | 5dc72c8a146ddcfc568265c8088e90d8e996d340 (patch) | |
| tree | 0ec46a798323b9c64f896f71493b7d801b92e458 /include/linux | |
| parent | a4eecd720546527d9c3091231b531e8ca18ba718 (diff) | |
| parent | 212c5c078d83d780cf2873ca931df135771e8bb7 (diff) | |
Merge branch 'memory-observability' into x86/amd
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmzone.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index c11b7cde81ef..8f9c9590a42c 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -205,7 +205,10 @@ enum node_stat_item { NR_KERNEL_SCS_KB, /* measured in KiB */ #endif NR_PAGETABLE, /* used for pagetables */ - NR_SECONDARY_PAGETABLE, /* secondary pagetables, e.g. KVM pagetables */ + NR_SECONDARY_PAGETABLE, /* secondary pagetables, KVM & IOMMU */ +#ifdef CONFIG_IOMMU_SUPPORT + NR_IOMMU_PAGES, /* # of pages allocated by IOMMU */ +#endif #ifdef CONFIG_SWAP NR_SWAPCACHE, #endif |