lkml.org 
[lkml]   [2023]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 09/10] iommu: observability of the IOMMU allocations
    On Thu, 30 Nov 2023, Pasha Tatashin wrote:

    > Add NR_IOMMU_PAGES into node_stat_item that counts number of pages
    > that are allocated by the IOMMU subsystem.
    >
    > The allocations can be view per-node via:
    > /sys/devices/system/node/nodeN/vmstat.
    >
    > For example:
    >
    > $ grep iommu /sys/devices/system/node/node*/vmstat
    > /sys/devices/system/node/node0/vmstat:nr_iommu_pages 106025
    > /sys/devices/system/node/node1/vmstat:nr_iommu_pages 3464
    >
    > The value is in page-count, therefore, in the above example
    > the iommu allocations amount to ~428M.
    >
    > Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>

    Acked-by: David Rientjes <rientjes@google.com>

    \
     
     \ /
      Last update: 2023-12-14 19:00    [W:6.494 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site