mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvmap: dynamically allocate nvmap page pool shrinker
Dynamically allocate the nvmpa pagepool shrinker as shrinker register and unregister get removed from Linux 6.7. Based on change: *** commit 86298d8b8ceacc17d0192cd6412d2773ff51b27f Author: Qi Zheng <zhengqi.arch@bytedance.com> md/raid5: dynamically allocate the md-raid5 shrinker *** Bug 4346767 Change-Id: Idbe40753f79481d85e5899d2905039860d39dc5e Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3020001 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
4ef0a332e8
commit
fc748158cc
3
Makefile
3
Makefile
@@ -95,6 +95,9 @@ subdir-ccflags-y += -DNV_PWM_OPS_HAS_NO_OWNER
|
||||
|
||||
# get_file_rcu() have change the argument
|
||||
subdir-ccflags-y += -DNV_GET_FILE_RCU_HAS_PTR_FILE_ARGS
|
||||
|
||||
# Support enable to allocate shrinker dynamically
|
||||
subdir-ccflags-y += -DNV_NVMAP_DYNAMIC_SHRINKER_ALLOC_SUPPORT
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
||||
|
||||
Reference in New Issue
Block a user