Skip to main content
Tweeted twitter.com/StackUnix/status/1153545411484934144
Became Hot Network Question
edited tags
Link
Gilles 'SO- stop being evil'
  • 868.5k
  • 206
  • 1.8k
  • 2.3k
Post Migrated Here from cs.stackexchange.com (revisions)
Source Link

Are Linux kernel modules a sort of Linux system paged pool?

I always read that Linux kernel isn't pageable.
If I'm not mistaken Windows, instead, divedes system virtual memory in a paged part (paged pool) and non-paged part (non-paged pool).
The non-paged part is mapped directly to physical memory and stay there all the time because takes care of the most important tasks kernel must accomplish, while less important portions may be not. Linux kernel,instead, is divided into laodable modules, but no information I managed to gather on how these modules are implemented.
I don't understand if they're paged and thus you can temporarily transfer them to the disk. What I usually read is that we can "free" memory by unloading them, what is meant with this is still obscure to me.
When I writed "paged" or "pageable" along this post, I implicitly meant that you can swap out on disk these pages. I addressed this because usually Linux kernel is considered paged but it can't be swapped out