For instance:
static int __init hugetlb_init(){
......
}
module_init(hugetlb_init);
And there is no #ifdef CONFIG_xxx before it.
Does it mean that it is a manual insert module which won’t be inserted during boot?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
But there is a CONFIG_HUGETLBFS in mm/Makefile
given the fact that CONFIG_HUGETLBFS is boolean,
you can either make it built-in (=y) or kick it out of kernel (=n). So, hugetlbfs can’t be a module that you can manually insert into kernel.