From: jlnance@unity.ncsu.edu
To: mouschi@wi.rr.com, linux-kernel@vger.kernel.org
Subject: Re: Interesting VM feature?
Date: Fri, 15 Aug 2003 08:37:08 -0400 [thread overview]
Message-ID: <20030815123708.GA2231@ncsu.edu> (raw)
In-Reply-To: <13dedd139cb9.139cb913dedd@rdc-kc.rr.com>
On Thu, Aug 14, 2003 at 09:17:07PM -0500, mouschi@wi.rr.com wrote:
> What this mempool wants to do is to be able to
> allocate a block of memory and tell the kernel which
> pages from it can be outright discarded, instead of
> swapped out when memory starts to get crowded.
I think you might be able to get what you want with madvise() or perhaps
by mmap()ing new clean pages on top of the pages you want to throw away.
> I'm going to keep reading. If this is already
> implemented, or if the efficiency gains would be
> nil, somebody yell at me before I start crashing my
I would not implement this unless you either know you have a problem
with your mempool swap speed or you are bored. I doubt it is going
to help a lot, and it will certainly simplify your code to leave it
out. If you later find that you have performance problems you can
look into this again.
Thanks,
Jim
next prev parent reply other threads:[~2003-08-15 12:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 2:17 Interesting VM feature? mouschi
2003-08-15 12:37 ` jlnance [this message]
2003-08-15 12:57 ` Jamie Lokier
-- strict thread matches above, loose matches on Subject: below --
2003-08-15 19:56 mouschi
2003-08-15 20:00 ` Mike Fedyk
2003-08-15 21:19 ` Jamie Lokier
2003-08-21 2:24 ` H. Peter Anvin
2003-08-21 11:59 ` Jeff Dike
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=20030815123708.GA2231@ncsu.edu \
--to=jlnance@unity.ncsu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=mouschi@wi.rr.com \
/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