diff options
author | Yishai Hadas <[email protected]> | 2023-01-08 17:44:27 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-01-23 11:26:30 -0700 |
commit | 7658aeda334a624634b2ed0538feee374e24e1e3 (patch) | |
tree | 33056c5af5b9665c81e94dcde160df70cb8d98f3 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4a6c971a06ffc1d51bd26c03051d52c2e5977878 (diff) |
vfio/platform: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations
Use GFP_KERNEL_ACCOUNT for userspace persistent allocations.
The GFP_KERNEL_ACCOUNT option lets the memory allocator know that this
is untrusted allocation triggered from userspace and should be a subject
of kmem accounting, and as such it is controlled by the cgroup
mechanism.
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions