haiku/headers/private/system
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
..
arch mmu/riscv64: implement global page mapping support 2023-07-11 17:34:31 +00:00
posix posix: add _POSIX_SEM_NSEMS_MAX. 2017-02-21 20:17:16 +01:00
architecture_private.h Add get_architectures() and C++ versions 2013-11-17 02:09:37 +01:00
commpage_defs.h kernel: add a compatibility commpage on x86_64. 2018-05-18 05:11:07 +00:00
computed_asm_macros.h Created new private system header computed_asm_macros.h defining the macro we 2009-11-27 14:07:05 +00:00
convertutf.h headers/private: Fix wrong filemode. 2018-08-08 23:48:37 -04:00
ddm_userland_interface_defs.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
device_manager_defs.h fixed listdev and device_manager syscalls 2008-06-06 22:23:25 +00:00
directories.h packagefs: Support blacklisting entries in packages 2013-11-19 15:30:34 +01:00
disk_device_types.h btrfs: make file system name consistent 2019-04-09 12:03:12 +00:00
elf_private.h kernel: support elf32 on x86_64. 2018-05-15 10:29:00 +00:00
event_queue_defs.h kernel: Add event queue implementation to wait for objects efficiently. 2023-07-29 15:53:15 +00:00
extended_system_info_defs.h Added new private API to get more information on a team: 2010-11-16 19:42:08 +00:00
find_directory_private.h Add get_*architecture() API, extend find_path*() API 2013-11-17 02:09:36 +01:00
generic_syscall_defs.h * Introduced new header directory headers/private/system which is supposed 2008-05-14 03:55:16 +00:00
image_defs.h extended_image_info: Add text_delta field 2016-04-29 22:32:14 +02:00
node_monitor_private.h As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch 2010-10-24 00:49:20 +00:00
pe_common.h runtime_loader: Detect and trigger on PE binaries 2014-01-07 19:38:07 -06:00
random_defs.h libs/bsd: Implement getentropy(2). 2023-08-29 19:42:27 +00:00
real_time_data.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
safemode_defs.h kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION. 2023-09-23 18:41:04 +00:00
scheduler_defs.h Scheduling analysis: Also record the number of times a thread waits on a 2008-09-04 00:07:11 +00:00
signal_defs.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
spinlock_contention.h kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION. 2023-09-23 18:41:04 +00:00
symbol_versioning.h Fixed header guard. 2009-11-27 21:10:08 +00:00
symbol_visibility.h Introduce symbol_visibility.h with macros to define hidden functions 2021-10-09 15:03:36 +02:00
syscall_load_image.h headers/kernel: Move B_WAIT_TILL_LOADED to a syscall header. 2019-02-01 19:45:56 -05:00
syscall_process_info.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
syscalls.h gnu: add sched_getcpu() 2023-08-21 17:55:16 +00:00
system_info.h kernel: add frequency in cpu_info 2021-11-22 07:20:25 +00:00
system_profiler_defs.h Added support for I/O scheduling events to the system profiler interface. 2009-12-19 14:33:29 +00:00
thread_defs.h kernel: Introduce THREAD_BLOCK_TYPE_OTHER_OBJECT. 2023-04-26 15:33:53 -04:00
tls.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
user_mutex_defs.h user_mutex_defs: Add note that the flags area is shared with timeout flags. 2023-06-19 16:40:33 -04:00
user_runtime.h system/kernel: Increase MAX_PROCESS_ARGS_SIZE; fixes #17612 2022-02-23 17:36:54 +00:00
user_thread_defs.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
user_timer_defs.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
vfs_defs.h limits.h: define PIPE_BUF. 2017-04-19 17:52:28 +02:00
vm_defs.h Cleanup: Various comment and whitespace fixes. 2020-08-01 19:23:27 +00:00