haiku/headers/os/drivers
Augustin Cavalier 76681bd900 kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION.
* Replace count_low/count_high with bigtime_t fields plus an int32.
   sizeof(spinlock) is now 32 bytes with the debug option enabled.

 * Adjust and clean up all spinlock code to use the new fields.

 * Fold DEBUG_SPINLOCK_LATENCIES into the new code. Remove the bootloader
   option and other flags for it (these were not compiled in by default.)

The new code should be much easier to understand and also more powerful.
However, the information transmitted to userland isn't as useful now;
the KDL command output will have the interesting information.

(Things could be reworked to transmit more interesting information to
userland again if desired, but as this code clearly hadn't been compiled
for many years, as it referred to global spinlocks that have been gone
for a very long time.)

Change-Id: I2cb34078bfdc7604f288a297b6cd1aa7ff9cc512
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6943
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-09-23 18:41:04 +00:00
..
bus bus_managers/pci: split PCI controller to separate add-on 2023-04-25 15:54:32 +00:00
pcmcia Remove use of config_manager 2022-04-20 15:57:04 +00:00
tty tty: Implement exclusive mode 2023-05-13 00:41:16 +00:00
usb usb_hid: Update HID Consumer usage page constants to 1.3 spec 2022-05-03 19:04:30 +00:00
ACPI.h
bios.h
bus_manager.h
cpufreq.h
cpuidle.h
device_manager.h
disk_device_manager.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
dpc.h
driver_settings.h
Drivers.h Drivers.h: Rename device_{read|write}_pages back to device_{read|write}v_hook. 2023-02-13 23:05:16 -05:00
fs_cache.h
fs_interface.h Revert "vfs: functions to change a vnode busy status and ID" 2022-03-22 11:38:06 -04:00
interrupt_controller.h
io_requests.h
ISA.h Rewrite header ISA.h 2023-04-11 16:32:56 +00:00
isapnp.h Remove use of config_manager 2022-04-20 15:57:04 +00:00
KernelExport.h kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION. 2023-09-23 18:41:04 +00:00
locked_pool.h
midi_driver.h
mime_table.h
module.h
PCI.h bus_managers/pci: move MSI handling to generic code 2023-04-25 15:54:32 +00:00
Select.h
USB2.h
USB3.h USB: Support physical-vector bulk requests. 2023-05-30 17:54:28 +00:00
USB_isochronous.h
USB_printer.h
USB_rle.h
USB_spec.h
USB.h