transfer physical memory page to swap disk

Anupam Kapoor anupam.kapoor at gmail.com
Wed Jan 15 07:53:05 EST 2020


On Wed, 15 Jan 2020 at 6:02 PM Sumit Kumar <sumit686215 at gmail.com> wrote:

> Hi,
> Does C/C++ provide any API / system call that enables user to force the
> application to transfer some its physical pages to swap disk ? If so, is it
> also possible to obtain the least used page using some API ?
>

would madvise not serve your needs ?

—
kind regards
anupam
-- 
In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200115/8cb99c3e/attachment.html>


More information about the Kernelnewbies mailing list