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)
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
Unknown Object (File)
Thu, Oct 16, 2:01 AM
Unknown Object (File)
Thu, Oct 16, 2:01 AM
Unknown Object (File)
Wed, Oct 15, 3:14 PM
Unknown Object (File)
Tue, Oct 14, 12:22 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