freebsd-skq/sys/ddb
kib 9033c894a1 Make kstack_pages a tunable on arm, x86, and powepc. On i386, the
initial thread stack is not adjusted by the tunable, the stack is
allocated too early to get access to the kernel environment. See
TD0_KSTACK_PAGES for the thread0 stack sizing on i386.

The tunable was tested on x86 only.  From the visual inspection, it
seems that it might work on arm and powerpc.  The arm
USPACE_SVC_STACK_TOP and powerpc USPACE macros seems to be already
incorrect for the threads with non-default kstack size.  I only
changed the macros to use variable instead of constant, since I cannot
test.

On arm64, mips and sparc64, some static data structures are sized by
KSTACK_PAGES, so the tunable is disabled.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 week
2015-08-10 17:18:21 +00:00
..
db_access.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_access.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_break.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_break.h ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
db_capture.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_command.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_command.h
db_examine.c Don't return undefined symbols to a DDB symbol lookup. 2015-07-21 23:07:55 +00:00
db_expr.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_input.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_lex.c ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
db_lex.h
db_main.c Don't return undefined symbols to a DDB symbol lookup. 2015-07-21 23:07:55 +00:00
db_output.c ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
db_output.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_print.c Various changes to the registers displayed in DDB for x86. 2015-07-22 01:09:02 +00:00
db_ps.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
db_run.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_script.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_sym.c Fix KSTACK_PAGES issue when the default value was changed in KERNCONF 2015-07-16 10:46:52 +00:00
db_sym.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_textdump.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_thread.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_variables.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_variables.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_watch.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_watch.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_write_cmd.c ddb: de-register 2015-05-23 14:59:27 +00:00
ddb.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00