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 acpi: add ACPI_DEVICE_UID_ITEM 2020-04-20 14:56:59 +00:00
bios.h Added new BIOS module for calling BIOS interrupts. 2012-08-03 15:42:30 +01:00
bus_manager.h
cpufreq.h kernel: Propagate scheduler modes to cpu{freq, idle} modules 2013-12-17 23:26:37 +01:00
cpuidle.h kernel: Propagate scheduler modes to cpu{freq, idle} modules 2013-12-17 23:26:37 +01:00
device_manager.h device_manager: add find_child_node 2020-04-10 11:25:39 +00:00
disk_device_manager.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
dpc.h
driver_settings.h libroot: remove delete_driver_settings 2021-05-31 06:51:45 +00:00
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 block_cache: Change signature of *_etc() functions 2020-06-20 18:10:03 +00:00
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 Added public io_request_is_vip(), returning whether the given request has the 2010-07-22 11:08:34 +00:00
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: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
USB_printer.h
USB_rle.h
USB_spec.h PVS V547: always false conditions 2019-07-17 01:48:25 +00:00
USB.h