Separate the meta_transfer and meta_free functions, because one of them may have to release a lock and rebuild the iterator, and the other one does not.
Define helper functions for the various pctrie routines, to hide some of the ugliness.
Differential D46315
swap_pager: cleanup pctrie usage dougm on Aug 17 2024, 6:33 PM. Authored by Tags None Referenced Files
Details
Separate the meta_transfer and meta_free functions, because one of them may have to release a lock and rebuild the iterator, and the other one does not. Define helper functions for the various pctrie routines, to hide some of the ugliness.
Diff Detail
Event Timeline |