Subject: Re: IPSEC still fails on BETA2/vax (not anymore!)
To: Anders Magnusson <ragge@ludd.luth.se>
From: Olaf Seibert <rhialto@polderland.nl>
List: port-vax
Date: 07/12/2002 23:48:02
--- src/sys/arch/vax/vax/pmap.c.orig Fri Jul 12 01:52:41 2002
+++ src/sys/arch/vax/vax/pmap.c      Fri Jul 12 01:53:15 2002
@@ -67,7 +67,7 @@
 #include "qd.h"
 void   qdearly(void);
 
-#define ISTACK_SIZE NBPG
+#define ISTACK_SIZE (NBPG * 2)
 vaddr_t istack;
 /* 
  * This code uses bitfield operators for most page table entries.  

This seems to fix the problem for me. So unless there are hidden
assumptions in the code that ISTACK_SIZE is just NBPG, I would propose
this change to go into -current and pulled up to the 1.6 branch.

The larger size could possibly be made dependent on IPSEC, but since the
interrupt stack is allocated only once anyway, this seems a bit
over-frugal to me.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@       -- Woe betide the one who feels
\X/ polderland.nl  -- remorse without sin - Tom Poes, "Het boze oog", 4444.