aliyun / plugsched

Live upgrade Linux kernel scheduler subsystem
BSD 3-Clause "New" or "Revised" License
82 stars 23 forks source link

Provide a tool to manage extraction module code #201

Open ampresent opened 1 year ago

ampresent commented 1 year ago

The mapping from kernel (binary) to module is generated on-demand right now, because Plugsched doesn't take the responsibility of managing extracted module code.

However, there is indeed the need to build a standardized method to manage it, when the user must maintain many versions of kernels and their corresponding scheduler modules.

One basic observation is that, given two similar kernel binaries, Plugsched yields similar scheduler module sources. This throws some light on how to manage modules. One seemingly feasible idea is to maintain one base version of scheduler module source. Other versions of scheduler module source can be maintained as another branch.