minix/kernel/arch/i386
Tomas Hruby c554aef0e1 SMP - BKL statistics
- pressing 'B' on the serial cnsole prints statistics for BKL per cpu.

- 'b' resets the counters

- it presents number of cycles each CPU spends in kernel, how many
  cycyles it spends spinning while waiting for the BKL

- it shows optimistic estimation in how many cases we get the lock
  immediately without spinning. As the test is not atomic the lock may
  be already held by some other cpu before we actually try to acquire
  it.
2010-09-15 14:10:37 +00:00
..
include SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
acpi.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
acpi.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
apic.c SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
apic.h SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
apic_asm.h SMP - Only a single APIC timer handler 2010-09-15 14:10:09 +00:00
apic_asm.S SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
arch_clock.c SMP - BKL statistics 2010-09-15 14:10:37 +00:00
arch_do_vmctl.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
arch_smp.c SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
arch_system.c SMP - BKL statistics 2010-09-15 14:10:37 +00:00
arch_watchdog.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
breakpoints.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
debugreg.h Fix types in debug register functions 2010-04-28 08:35:05 +00:00
debugreg.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
do_int86.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
do_iopenable.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
do_readbios.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
do_sdevio.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
exception.c SMP - APs are fully enabled 2010-09-15 14:10:30 +00:00
glo.h SMP - CPU local run queues 2010-09-15 14:10:18 +00:00
i8259.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
io_inb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_intr.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
kernel.lds Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
klib.S SMP - BSP waits until the APs finish their booting 2010-09-15 14:10:12 +00:00
klib16.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
Makefile.inc SMP - We boot APs 2010-09-15 14:09:52 +00:00
memory.c SMP - Free PDE slots are split among CPU 2010-09-15 14:10:36 +00:00
mpx.S SMP - We boot APs 2010-09-15 14:09:52 +00:00
multiboot.h Multiboot support (contributed by Feiran "Fam" Zheng); 2010-07-23 14:24:34 +00:00
multiboot.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
oxpcie.c kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
oxpcie.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
pre_init.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
protect.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
sconst.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
serial.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
trampoline.S SMP - Kernel is loaded above 1M by default 2010-09-15 14:10:00 +00:00