From 0b284b5d7cff85c46f6fe14610026bd7ad6428c2 Mon Sep 17 00:00:00 2001 From: Kenji Aoyama Date: Thu, 20 Jun 2024 10:46:12 +0000 Subject: 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@ --- sys/arch/m88k/include/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 #include #include +#include #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; -- cgit v1.2.3