MFC r343755: Regularize the Netflix copyright
Revert r351902 ... it didn't properly exclude rack.c changes
epoch_test: fix compile- update to new interfaceReported by: manu
epoch(9): Make epochs non-preemptible by defaultThere are risks associated with waiting on a preemptible epoch section.Change the name to make them not be the default and document the issueunder
epoch(9): Make epochs non-preemptible by defaultThere are risks associated with waiting on a preemptible epoch section.Change the name to make them not be the default and document the issueunder CAVEATS.Reported by: markj
show more ...
epoch: add non-preemptible "critical" variantadds:- epoch_enter_critical() - can be called inside a different epoch, starts a section that will acquire any MTX_DEF mutexes or do anything that
epoch: add non-preemptible "critical" variantadds:- epoch_enter_critical() - can be called inside a different epoch, starts a section that will acquire any MTX_DEF mutexes or do anything that might sleep.- epoch_exit_critical() - corresponding exit call- epoch_wait_critical() - wait variant that is guaranteed that any threads in a section are running.- epoch_global_critical - an epoch_wait_critical safe epoch instanceRequested by: markjApproved by: sbruno
Test priority handling in epoch test.- Double the number of test threads to mp_ncpu*2- Give each thread a different scheduling priority
Add simple preempt safe epoch APIRead locking is over used in the kernel to guarantee liveness. This API makesit easy to provide livenes guarantees without atomics.Includes epoch_test kernel mod
Add simple preempt safe epoch APIRead locking is over used in the kernel to guarantee liveness. This API makesit easy to provide livenes guarantees without atomics.Includes epoch_test kernel module to stress test the API.Documentation will follow initial use case.Test case and improvements to preemption handling in response to discussionwith mjg@Reviewed by: imp@, shurd@Approved by: sbruno@
style(9): sort headersMFC after: 3 weeksSponsored by: Dell EMC Isilon
style(9): sort headers and remove duplicatesMFC after: 3 weeksSponsored by: Dell EMC Isilon
Style 9 changes.MFC after: 1 Month
Fix UP build.
Remove redundant declaration for sysctl kern.This is trying to fix the GCC build.MFC after: 1 monthX-MFC-With: r290663
Use a proper prototype.This was a failure in the GCC build.MFC after: 1 monthX-MFC-With: r290663
Add a kernel test framework. The callout_test is a demonstration and will onlywork with the upcoming async-drain functionality. Tests can be addedto the tests directory and then the framework can b
Add a kernel test framework. The callout_test is a demonstration and will onlywork with the upcoming async-drain functionality. Tests can be addedto the tests directory and then the framework can be used to launchthose tests.MFC after: 1 monthSponsored by: Netflix Inc.Differential Revision: https://reviews.freebsd.org/D1755