Page MenuHomeFreeBSD

D3094.id6999.vs6960.diff
No OneTemporary

D3094.id6999.vs6960.diff

Index: sys/amd64/amd64/stack_machdep.c
===================================================================
--- sys/amd64/amd64/stack_machdep.c
+++ sys/amd64/amd64/stack_machdep.c
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
Index: sys/arm/arm/machdep.c
===================================================================
--- sys/arm/arm/machdep.c
+++ sys/arm/arm/machdep.c
@@ -44,6 +44,7 @@
#include "opt_compat.h"
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include "opt_platform.h"
#include "opt_sched.h"
#include "opt_timer.h"
Index: sys/arm/at91/at91_machdep.c
===================================================================
--- sys/arm/at91/at91_machdep.c
+++ sys/arm/at91/at91_machdep.c
@@ -43,6 +43,7 @@
* Created : 17/09/94
*/
+#include "opt_kstack_pages.h"
#include "opt_platform.h"
#include <sys/cdefs.h>
Index: sys/arm/cavium/cns11xx/econa_machdep.c
===================================================================
--- sys/arm/cavium/cns11xx/econa_machdep.c
+++ sys/arm/cavium/cns11xx/econa_machdep.c
@@ -38,6 +38,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
Index: sys/arm/samsung/s3c2xx0/s3c24x0_machdep.c
===================================================================
--- sys/arm/samsung/s3c2xx0/s3c24x0_machdep.c
+++ sys/arm/samsung/s3c2xx0/s3c24x0_machdep.c
@@ -44,6 +44,7 @@
*/
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
Index: sys/arm/xscale/i80321/ep80219_machdep.c
===================================================================
--- sys/arm/xscale/i80321/ep80219_machdep.c
+++ sys/arm/xscale/i80321/ep80219_machdep.c
@@ -48,6 +48,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
Index: sys/arm/xscale/i80321/iq31244_machdep.c
===================================================================
--- sys/arm/xscale/i80321/iq31244_machdep.c
+++ sys/arm/xscale/i80321/iq31244_machdep.c
@@ -48,6 +48,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
Index: sys/arm/xscale/i8134x/crb_machdep.c
===================================================================
--- sys/arm/xscale/i8134x/crb_machdep.c
+++ sys/arm/xscale/i8134x/crb_machdep.c
@@ -48,6 +48,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
Index: sys/arm/xscale/ixp425/avila_machdep.c
===================================================================
--- sys/arm/xscale/ixp425/avila_machdep.c
+++ sys/arm/xscale/ixp425/avila_machdep.c
@@ -48,6 +48,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
Index: sys/arm/xscale/pxa/pxa_machdep.c
===================================================================
--- sys/arm/xscale/pxa/pxa_machdep.c
+++ sys/arm/xscale/pxa/pxa_machdep.c
@@ -46,6 +46,7 @@
*/
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
Index: sys/arm64/arm64/locore.S
===================================================================
--- sys/arm64/arm64/locore.S
+++ sys/arm64/arm64/locore.S
@@ -27,6 +27,7 @@
*/
#include "assym.s"
+#include "opt_kstack_pages.h"
#include <sys/syscall.h>
#include <machine/asm.h>
#include <machine/armreg.h>
@@ -51,8 +52,6 @@
* We are loaded at a 2MiB aligned address
*/
-#define INIT_STACK_SIZE (PAGE_SIZE * 4)
-
.text
.globl _start
_start:
Index: sys/arm64/arm64/mp_machdep.c
===================================================================
--- sys/arm64/arm64/mp_machdep.c
+++ sys/arm64/arm64/mp_machdep.c
@@ -28,6 +28,7 @@
*
*/
+#include "opt_kstack_pages.h"
#include "opt_platform.h"
#include <sys/cdefs.h>
Index: sys/arm64/arm64/swtch.S
===================================================================
--- sys/arm64/arm64/swtch.S
+++ sys/arm64/arm64/swtch.S
@@ -30,6 +30,7 @@
*/
#include "assym.s"
+#include "opt_kstack_pages.h"
#include "opt_sched.h"
#include <machine/asm.h>
Index: sys/arm64/conf/GENERIC
===================================================================
--- sys/arm64/conf/GENERIC
+++ sys/arm64/conf/GENERIC
@@ -70,6 +70,7 @@
options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
options RCTL # Resource limits
options SMP
+options KSTACK_PAGES=4
# Debugging support. Always need this:
options KDB # Enable kernel debugger support.
Index: sys/arm64/include/param.h
===================================================================
--- sys/arm64/include/param.h
+++ sys/arm64/include/param.h
@@ -92,10 +92,6 @@
#define MAXPAGESIZES 1 /* maximum number of supported page sizes */
-#ifndef KSTACK_PAGES
-#define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */
-#endif
-
#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
#define PCPU_PAGES 1
Index: sys/ddb/db_ps.c
===================================================================
--- sys/ddb/db_ps.c
+++ sys/ddb/db_ps.c
@@ -30,6 +30,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/cons.h>
#include <sys/jail.h>
Index: sys/ddb/db_sym.c
===================================================================
--- sys/ddb/db_sym.c
+++ sys/ddb/db_sym.c
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/pcpu.h>
#include <sys/smp.h>
Index: sys/i386/i386/locore.s
===================================================================
--- sys/i386/i386/locore.s
+++ sys/i386/i386/locore.s
@@ -41,6 +41,7 @@
#include "opt_bootp.h"
#include "opt_compat.h"
+#include "opt_kstack_pages.h"
#include "opt_nfsroot.h"
#include "opt_pmap.h"
Index: sys/i386/i386/stack_machdep.c
===================================================================
--- sys/i386/i386/stack_machdep.c
+++ sys/i386/i386/stack_machdep.c
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
Index: sys/powerpc/booke/pmap.c
===================================================================
--- sys/powerpc/booke/pmap.c
+++ sys/powerpc/booke/pmap.c
@@ -51,6 +51,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/conf.h>
#include <sys/malloc.h>
Index: sys/sparc64/sparc64/exception.S
===================================================================
--- sys/sparc64/sparc64/exception.S
+++ sys/sparc64/sparc64/exception.S
@@ -58,6 +58,7 @@
#include "opt_compat.h"
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include <machine/asi.h>
#include <machine/asmacros.h>
Index: sys/sparc64/sparc64/stack_machdep.c
===================================================================
--- sys/sparc64/sparc64/stack_machdep.c
+++ sys/sparc64/sparc64/stack_machdep.c
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/stack.h>
Index: sys/sparc64/sparc64/support.S
===================================================================
--- sys/sparc64/sparc64/support.S
+++ sys/sparc64/sparc64/support.S
@@ -27,6 +27,8 @@
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
+#include "opt_kstack_pages.h"
+
#include <sys/errno.h>
#include <machine/asi.h>
Index: sys/x86/xen/pv.c
===================================================================
--- sys/x86/xen/pv.c
+++ sys/x86/xen/pv.c
@@ -31,6 +31,7 @@
__FBSDID("$FreeBSD$");
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include <sys/param.h>
#include <sys/bus.h>

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 13, 12:15 PM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15359097
Default Alt Text
D3094.id6999.vs6960.diff (8 KB)

Event Timeline