freebsd-skq/sys/x86/xen
Konstantin Belousov edc8222303 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
..
hvm.c xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
pv.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
pvcpu_enum.c xen/intr: improve handling of legacy IRQs 2015-02-16 16:37:59 +00:00
xen_apic.c Rewrite amd64 PCID implementation to follow an algorithm described in 2015-05-09 19:11:01 +00:00
xen_intr.c Remove some more vestiges of the Xen PV domu support. Specifically, 2015-08-06 17:07:21 +00:00
xen_msi.c msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
xen_nexus.c Remove support for Xen PV domU kernels. Support for HVM domU kernels 2015-04-30 15:48:48 +00:00
xen_pci_bus.c xen: create a new PCI bus override 2014-12-09 18:03:25 +00:00
xenpv.c xen: make sure xenpv bus is the last to attach 2015-05-25 09:47:16 +00:00