haiku/build/config_headers
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
..
apps_debugger_config.h
kernel_debug_config.h kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION. 2023-09-23 18:41:04 +00:00
kernel_debugger_config.h Make US-english the default KDL keymap again. 2016-10-10 07:18:12 +02:00
paranoia_config.h
ReadMe Wrap config_headers readme to 80 columns. 2014-11-17 09:31:33 +01:00
support_kit_config.h
tracing_config.h

To customize the settings defined in these headers, create a folder
"user_config_headers" in the "build" folder and copy the headers you want to
modify into that folder. Your custom headers will be ignored by the version
control system and the build system will automatically use them instead of the
original ones. But be aware that when changes are commited to the files in
"config_headers", you will have to apply them to your custom headers manually.