From: "lk" <linux_kernel@patni.com>
To: "Josef E. Galea" <josefeg@euroweb.net.mt>,
<linux-kernel@vger.kernel.org>
Subject: Re: Linux virtual memory manager
Date: Fri, 1 Apr 2005 00:45:59 -0800 [thread overview]
Message-ID: <000f01c53697$3a328c40$5e91a8c0@patni.com> (raw)
In-Reply-To: <424C09B0.2080502@euroweb.net.mt>
The try_to_swap_out( ) function attempts to free a given page frame, either
discarding or swapping out its contents. It will add the page to swap and
remove the entry from page table of page cache.
In 2.6.x series you can look into shrink_list() function which is called
from kswapd daemon. The function you are trying to look for an
equivalent of try_to_swap_out() is add_to_swap() and after that
try_to_unmap() which will add the page of page cache to swap cache
and remove entry from the page table respectively.
regards
lk
----- Original Message -----
From: "Josef E. Galea" <josefeg@euroweb.net.mt>
To: <linux-kernel@vger.kernel.org>
Sent: Thursday, March 31, 2005 6:31 AM
Subject: Linux virtual memory manager
> Hi,
>
> Can someone point me to a document explaining the differences between
> the 2.4 and the 2.6 virtual memory manager. Particularly I am looking
> for the function/s that replaces the try_to_swap_out() in the 2.6.x
> series of kernels.
>
> Thanks
> Josef
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2005-04-01 8:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 14:31 Josef E. Galea
2005-04-01 8:45 ` lk [this message]
2005-04-01 17:28 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000f01c53697$3a328c40$5e91a8c0@patni.com' \
--to=linux_kernel@patni.com \
--cc=josefeg@euroweb.net.mt \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®