kmalloc VS __get_free_pages() Q2

The slab is grabbing a bunch of pages (using get_free_pages) where it constructs some buffer pools
(of various size, which can be seen in /proc/slabinfo).

Then, when kmalloc() is called, the kmalloc API accesses the slab to get a buffer of the requested size

Is the above what is happening?


באדיבות שוקי התותח 🙂

Asked on October 10, 2019 in Linux Kernel.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.