transfer physical memory page to swap disk

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

On Wed, 15 Jan 2020 at 6:02 PM Sumit Kumar <sumit686215 at> 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
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: <>

More information about the Kernelnewbies mailing list