diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2024-06-20 10:46:12 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2024-06-20 10:46:12 +0000 |
commit | 0b284b5d7cff85c46f6fe14610026bd7ad6428c2 (patch) | |
tree | cabd19b1302571b3e997bda8137df764f661e134 /sys/arch | |
parent | 417bb157a224adc2a74a3d98b5c423372871692b (diff) |
Enable uvm percpu caches on luna88k.
It survives 3.5 days "make build" and makes about 1.5% faster on 3 CPU
machine:-)
ok miod@ phessler@ dlg@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m88k/include/cpu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h index 4dbb4d9786d..d3c37fc9070 100644 --- a/sys/arch/m88k/include/cpu.h +++ b/sys/arch/m88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.79 2024/06/09 21:15:29 jca Exp $ */ +/* $OpenBSD: cpu.h,v 1.80 2024/06/20 10:46:11 aoyama Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -64,6 +64,7 @@ #include <sys/queue.h> #include <sys/sched.h> #include <sys/srp.h> +#include <uvm/uvm_percpu.h> #if defined(MULTIPROCESSOR) #if !defined(MAX_CPUS) || MAX_CPUS > 4 @@ -171,6 +172,8 @@ struct cpu_info { #if defined(MULTIPROCESSOR) struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM]; +#define __HAVE_UVM_PERCPU + struct uvm_pmr_cache ci_uvm; /* [o] page cache */ #endif #ifdef DIAGNOSTIC int ci_mutex_level; |