mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
For bigger buffer allocation (e.g. 4GB, 5GB etc) from IOMMU heap, 70% of the total time is consumed in cache cleaning. CUDA team confirmed that, it is not always necessary to clean the CPU cache during allocation flow. Hence provide an option to users of libnvrm_mem to skip cache cleaning whenever required. Bug 4628529 Change-Id: I9f4cdc930fcc673b69344f0167c8bc1378ec8d61 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3192376 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>