Re: How do you comprehend the saying that the kernel's memory is not pageable whereas get_free_page use a page-oriented technique?

2020-06-20 Thread 孙世龙 sunshilong
>> Unfortunately for kernel developers, allocating memory in the kernel >> is not as simple as allocating memory in userspace. A number of >> factors contribute to the complication, among them: >> The kernel is limited to about 1GB of virtual and physical memory. >> **The kernel's memory is not

Re: How do you comprehend the saying that the kernel's memory is not pageable whereas get_free_page use a page-oriented technique?

2020-06-20 Thread Valdis Klētnieks
On Sat, 20 Jun 2020 14:18:21 +0800, 孙世龙 sunshilong said: > Unfortunately for kernel developers, allocating memory in the kernel > is not as simple as allocating memory in userspace. A number of > factors contribute to the complication, among them: > The kernel is limited to about 1GB of

How do you comprehend the saying that the kernel's memory is not pageable whereas get_free_page use a page-oriented technique?

2020-06-20 Thread 孙世龙 sunshilong
As per the documentation( https://www.linuxjournal.com/article/6930 ), which says[emphasis mine]: Unfortunately for kernel developers, allocating memory in the kernel is not as simple as allocating memory in userspace. A number of factors contribute to the complication, among them: The kernel is