From 4ed4f8dde5fa32c869d6204b0110b4b40f3e5a2e Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Mon, 30 May 2011 22:25:25 +0000 Subject: Remove the freelist member from vm_physseg The new world order of pmemrange makes this data completely redundant (being dealt with by the pmemrange constraints instead). Remove all code that messes with the freelist. While touching every caller of uvm_page_physload() anyway, add the flags argument to all callers (all but one is 0 and that one already used PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue without it. Should shrink the code a bit, as well. matthew@ pointed out some mistakes i'd made. ``freelist death, I like. Ok.' ariane@ `I agree with the general direction, go ahead and i'll fix any fallout shortly'' miod@ (68k 88k and vax i could not check would build) --- sys/arch/zaurus/include/vmparam.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/arch/zaurus/include') diff --git a/sys/arch/zaurus/include/vmparam.h b/sys/arch/zaurus/include/vmparam.h index 137c992070c..57b4974bdbb 100644 --- a/sys/arch/zaurus/include/vmparam.h +++ b/sys/arch/zaurus/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.5 2011/03/23 16:54:37 pirofti Exp $ */ +/* $OpenBSD: vmparam.h,v 1.6 2011/05/30 22:25:23 oga Exp $ */ /* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */ /* @@ -79,8 +79,4 @@ #endif /* _KERNEL */ -#define VM_NFREELIST 1 -#define VM_FREELIST_DEFAULT 0 - - #endif /* _MACHINE_VMPARAM_H_ */ -- cgit v1.2.3