From 9f71c9addcc85a83acf0e7b614d50a0f226f85d6 Mon Sep 17 00:00:00 2001 From: aoyama Date: Thu, 20 Jun 2024 10:46:11 +0000 Subject: [PATCH] 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(-) 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; -- 2.20.1