summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-10-13 19:18:38 (GMT)
committerJason Evans <jasone@canonware.com>2016-10-13 22:37:00 (GMT)
commit577d4572b0821a15e5370f9bf566d884b7cf707c (patch)
tree447f5103cfb02aadba1f2a3b5e9ece5d4e92d581 /doc
parente5effef428b5bf941e1697f6000c97f1ce734756 (diff)
downloadjemalloc-577d4572b0821a15e5370f9bf566d884b7cf707c.zip
jemalloc-577d4572b0821a15e5370f9bf566d884b7cf707c.tar.gz
jemalloc-577d4572b0821a15e5370f9bf566d884b7cf707c.tar.bz2
Make dss operations lockless.
Rather than protecting dss operations with a mutex, use atomic operations. This has negligible impact on synchronization overhead during typical dss allocation, but is a substantial improvement for extent_in_dss() and the newly added extent_dss_mergeable(), which can be called multiple times during extent deallocations. This change also has the advantage of avoiding tsd in deallocation paths associated with purging, which resolves potential deadlocks during thread exit due to attempted tsd resurrection. This resolves #425.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions