]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add some unspeakable hackery to the tree under #ifdef __ia64__ to work
authorPeter Wemm <peter@FreeBSD.org>
Fri, 4 Oct 2002 01:31:39 +0000 (01:31 +0000)
committerPeter Wemm <peter@FreeBSD.org>
Fri, 4 Oct 2002 01:31:39 +0000 (01:31 +0000)
commitc281972e6101f435cb7718c93b49ded29a6dd988
tree58029885f8d63a9fab08006bc07753c79446466c
parent74cf93d79d85383e4c4cf884c5c20d8a1128dd97
Add some unspeakable hackery to the tree under #ifdef __ia64__ to work
around limitations in the ia64 kernel stack handling code.  Basically
preallocate a bunch of threads (and hence kstacks) while contigmalloc()
still works, and never free them back to the general memory pool.  After
the system has been running for a while, contigmalloc() eventually fails
at a critical momemt and panics the system.
sys/kern/kern_kse.c
sys/kern/kern_thread.c