summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2009-03-15 06:41:47 +0000
committerjeff <jeff@FreeBSD.org>2009-03-15 06:41:47 +0000
commitee1ec823f64df1e1cbfad16666bceeb4419bfa25 (patch)
treed61628888fc3c8f39efa8355161b1f2c39147b98 /sys/pci/if_rl.c
parent17991531066544951ce0655b304c427f2688f64a (diff)
downloadFreeBSD-src-ee1ec823f64df1e1cbfad16666bceeb4419bfa25.zip
FreeBSD-src-ee1ec823f64df1e1cbfad16666bceeb4419bfa25.tar.gz
- 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
Diffstat (limited to 'sys/pci/if_rl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud