summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-riscv.c
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2023-01-08 16:44:26 +0100
committerAlex Williamson <alex.williamson@redhat.com>2023-01-23 19:26:30 +0100
commit4a6c971a06ffc1d51bd26c03051d52c2e5977878 (patch)
tree5e9b2338ee8b536f0b96fd07a14635c36a51335c /drivers/clocksource/timer-riscv.c
parentvfio/hisi: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations (diff)
downloadlinux-4a6c971a06ffc1d51bd26c03051d52c2e5977878.tar.xz
linux-4a6c971a06ffc1d51bd26c03051d52c2e5977878.zip
vfio/fsl-mc: 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 <yishaih@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20230108154427.32609-6-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/clocksource/timer-riscv.c')
0 files changed, 0 insertions, 0 deletions