The motivation is to get all freelist related logic included in freelist.go. We are going to introduce freelist interface in the next step.
The freePages is the most important logic of freelist management, but it's outside of freelist management. Moving it into freelist.go is the base for introducing freelist interface and introduce more dedicated test cases.
The motivation is to get all freelist related logic included in freelist.go. We are going to introduce freelist interface in the next step.
The
freePages
is the most important logic of freelist management, but it's outside of freelist management. Moving it into freelist.go is the base for introducing freelist interface and introduce more dedicated test cases.cc @tjungblu @fuweid @ivanvc