Searched hist:189845 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10-stable/sys/sys/ | ||
H A D | lock_profile.h | diff 189845 Sun Mar 15 04:49:56 MDT 2009 jeff - Implement a new mechanism for resetting lock profiling. We now guarantee that all cpus have acknowledged the cleared enable int by scheduling the resetting thread on each cpu in succession. Since all lock profiling happens within a critical section this guarantees that all cpus have left lock profiling before we clear the datastructures. - Assert that the per-thread queue of locks lock profiling is aware of is clear on thread exit. There were several cases where this was not true that slows lock profiling and leaks information. - Remove all objects from all lists before clearing any per-cpu information in reset. Lock profiling objects can migrate between per-cpu caches and previously these migrated objects could be zero'd before they'd been removed Discussed with: attilio Sponsored by: Nokia |
Completed in 31 milliseconds