Page MenuHomeFreeBSD

powerpc64/mmu: Use a SLIST for the PVO delete list, instead of a RB_TREE
ClosedPublic

Authored by jhibbits on Jul 25 2019, 3:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 2:09 AM
Unknown Object (File)
Sat, Apr 4, 7:01 PM
Unknown Object (File)
Sat, Apr 4, 11:13 AM
Unknown Object (File)
Sat, Apr 4, 10:55 AM
Unknown Object (File)
Wed, Mar 25, 6:06 AM
Unknown Object (File)
Tue, Mar 24, 4:09 AM
Unknown Object (File)
Sun, Mar 22, 2:08 AM
Unknown Object (File)
Sat, Mar 21, 7:42 PM
Subscribers

Details

Summary

Although it's convenient to reuse the pvo_plist for deletion, RB_TREE
insertion and removal is not free, and can result in a lot of extra work
to rebalance the tree. Instead, use a SLIST as a LIFO delete queue,
which gives us almost free insertion, deletion, and traversal.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable