Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What does it mean that kernel memory is unswappable?

Status
Not open for further replies.

avssunil

Junior Member level 1
Joined
Nov 13, 2006
Messages
19
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,416
Hi All,
I have read that "kernel memory is unswappable,and thus allocating extra memory in the kernel is a far worse thing to do in the kernel than in a user-level program",but we have functions like kfree() and kfree_s() to free the memory from the kernel,so wht do the above statement meant???

Thanks
Sunil
 

Kernel memory

Yaa kernel memory is un swapable.
Here kernel memory means,memory allocated to core kernel.
How kernel is swapped onto disk ,which(kernel) always must be in memory.

kfree is used to free the memory whtever u acquired dynamically.
Hope I am clear to u.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top