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, Nov 4, 12:35 PM
Unknown Object (File)
Mon, Oct 27, 4:02 AM
Unknown Object (File)
Mon, Oct 27, 2:03 AM
Unknown Object (File)
Sun, Oct 26, 8:32 AM
Unknown Object (File)
Sat, Oct 18, 3:36 PM
Unknown Object (File)
Thu, Oct 16, 7:35 PM
Unknown Object (File)
Thu, Oct 16, 6:14 PM
Unknown Object (File)
Thu, Oct 16, 2:01 AM
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