[mm subsystem] A question about function page_table_range_init_count()

Hao Lee haolee.swjtu at gmail.com
Wed Mar 15 10:12:10 EDT 2017


Hi, all

I encounter a problem when I read the source code of kernel 4.9.9.

In arch/x86/mm/init_32.c, at line 125 [1], there is a function named
page_table_range_init_count(...). I have analyzed some codes and find its
two parameters are PKMAP_BASE and FIXADDR_START.

Between Line 141 and Line 150, there is a for loop and I don't know what it
means, especially Line 144-Line147.

Could someone can give me some tips. Thanks a lot!

Here is the code:
[1]  http://lxr.free-electrons.com/source/arch/x86/mm/init_32.c?v=4.9#L125

Hao Lee
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170315/cff9edd8/attachment.html 


More information about the Kernelnewbies mailing list