- How many times to poll a busy semaphore before going to sleep.
-
-config SEM_TRACE_BLOCKERS
- bool "Semaphore Blocker Tracing"
- default n
- help
- Drops a TRACEME whenever a semaphore would block (barring slight
- races). To access the trace data, you'll need to use the opcontrols
- and process the data with op2.
-
-config RESET_STACKS
- bool "Reset Stacks"
- default y
- help
- When idling, the kernel will reset the stack of its kernel thread to
- the top of the stack, abandoning its context. This is useful so we do
- not run off the end of our stacks, but makes backtracing difficult.
-
-config LARGE_KSTACKS
- bool "Large (two-page) Kernel Stacks"
- default y
- help
- Ideally, we'd like to use single-page stacks, which are easier on the
- memory allocator. Some of the Plan 9 code hogs stack space, and we may
- run off the end of a single-page stack.
-
- Say 'y' to play it safe and use the larger, slower stacks. Say 'n' for
- higher performance, and mention this setting if you have any weird
- crashes or panics.
-
-config KTHREAD_POISON
- bool "Kthread Poison Canary"
- default n
- help
- Kthreads will use a bit of storage at the bottom of the stack to track
- the state of the kthread. This is useful to catch various bugs with
- kthreading, such as launching the same kthread twice concurrently.