From ad43a49a8683c821c037c7d346f08f5f5dd6eb02 Mon Sep 17 00:00:00 2001 From: quackerd Date: Fri, 25 Nov 2022 04:05:12 +0100 Subject: [PATCH] finer grained affinity control --- sys/fs/tmpfs/tmpfs_subr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index a838167b792f..58f3f772d9f8 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -98,6 +98,7 @@ int tmpfs_pager_type = -1; static struct domainset * tmpfs_get_domainset(void) { + struct domainset * vm_domainset = NULL; switch (vm_domain_policy) { case VM_DOMAIN_POLICY_RR: vm_domainset = DOMAINSET_RR(); @@ -122,6 +123,7 @@ tmpfs_get_domainset(void) printf("unknown tmpfs domain policy: %d, defaulting to NONE\n", vm_domain_policy); break; } + return vm_domainset; } static vm_object_t