Date: Tue, 8 Sep 2009 15:31:23 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/arm/arm vm_machdep.c src/sys/kern kern_fork.c kern_kthread.c kern_proc.c kern_thr.c kern_thread.c src/sys/sys proc.h src/sys/vm vm_extern.h vm_glue.c Message-ID: <200909081532.n88FWBLh067546@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-09-08 15:31:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/arm/arm vm_machdep.c sys/kern kern_fork.c kern_kthread.c kern_proc.c kern_thr.c kern_thread.c sys/sys proc.h sys/vm vm_extern.h vm_glue.c Log: SVN rev 196977 on 2009-09-08 15:31:23Z by kib MFC r196730: Remove the altkstacks, instead instantiate threads with kernel stack allocated with the right size from the start. For the thread that has kernel stack cached, verify that requested stack size is equial to the actual, and reallocate the stack if sizes differ. Introduce separate kernel stack cache that keeps some limited amount of preallocated kernel stacks to lower the latency of thread allocation. Not a merge: instead of removing td_altkstack* members of struct thread, replace them with placeholders to keep struct thread layout on the stable branch. Also, record r196640, r196644 and r196648 as merged. Approved by: re (kensmith) Revision Changes Path 1.40.2.2 +0 -3 src/sys/arm/arm/vm_machdep.c 1.306.2.2 +15 -10 src/sys/kern/kern_fork.c 1.47.2.2 +1 -4 src/sys/kern/kern_kthread.c 1.285.2.2 +0 -10 src/sys/kern/kern_proc.c 1.75.2.2 +1 -1 src/sys/kern/kern_thr.c 1.285.2.2 +13 -4 src/sys/kern/kern_thread.c 1.535.2.2 +5 -4 src/sys/sys/proc.h 1.86.2.2 +0 -2 src/sys/vm/vm_extern.h 1.235.2.2 +95 -43 src/sys/vm/vm_glue.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909081532.n88FWBLh067546>