mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
In NUMA system, user can request nvmap to allocate from any particular node using NvRmMem APIs. Add code to request allocation from such requested node. While allocating pages from page pool, check if those pages belong to requested NUMA node. In some cases, we may not need to use NUMA support e.g. in color pages allocation code, we don't need to use NUMA, as page coloring is needed only for t19x chips. JIRA TMM-5287 Bug 4043165 Change-Id: If8043278122068773a802d83723d287d32914e14 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2889707 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>