Commit cf98ffbc authored by Liu Shixin's avatar Liu Shixin
Browse files

mm/dynamic_pool: fill dpool with pagelist

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8S9BY


CVE: NA

--------------------------------

This patch introduce another way to fill the dpool. In order to achieve
this, the user should provide pfn ranges with pre-built page table and
struct page. Then the user can call dpool_init() to create a new dpool and
fill the dpool with the above pages.

To enable dpool int this way, "dpool=on" should be added to kernel
parameters.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
parent 64388014
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment