The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

Feedback: Lock the pages in memory

Forum: The Linux Kernel Hackers' Guide
Re: Question Does memory area assigned by "vmalloc()" get swapped to disk? (Saurabh Desai)
Keywords: disk swapping
Date: Mon, 01 Jun 1998 17:11:06 GMT
From: <balaji@ittc.ukans.edu>

Hi, To make sure a set of pages dont get swapped out to disk just lock them in. Look at the implementation of mlock to find out how thats done...(If you are smart enough you can call the sys_mlock within the kernel) balaji PS: This may not be what you wanted bcos of certain constraints...if so let me know balaji

Next-in-Thread Next Message Previous Message Next Thread

Messages Inline: 0 1 All Outline: 1 -1 +1

1. Question: How about assigning a fixed size array...does it get swapped too? by saurabh desai newest

to: "Lock the pages in memory"

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4