From: Timur Tabi <timur.tabi@ammasso.com>
To: linux-mm@kvack.org
Subject: What happened to try_to_swap_out()?
Date: Tue, 08 Jun 2004 09:59:11 -0500 [thread overview]
Message-ID: <40C5D43F.4060601@ammasso.com> (raw)
Hi,
Sorry for the newbie-like question, but I didn't know where else I
should ask this question.
I'm porting our driver from 2.4 to 2.6, and during the development for
2.4, one of the other software engineers discovered a possible bug in
try_to_swap_out() in mm/vmscan.c. I don't have all the details, but
it's something about that function swapping out reserved pages, which I
presume it shouldn't do. Because of this bug, we had to implement a
work-around in our driver.
Anyway, I'm trying to determine if that bug still exists in 2.6. We'll
run tests, of course, but I wanted to look at the code to see if the
problem is still there. Unfortunately, that function doesn't exist in
2.6, and I can't figure out what it's replacement is. Obviously, there
is no single replacement function, but I was hoping someone could give
me a quick rundown as to where that code went.
Also, I noticed that RedHat 9.0 doesn't have try_to_swap_out() either.
I guess they ported some 2.6 code to 2.4. Can anyone corroborate that?
--
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next reply other threads:[~2004-06-08 14:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-08 14:59 Timur Tabi [this message]
2004-06-08 16:25 ` What happened to try_to_swap_out()? Rik van Riel
2004-06-08 16:31 ` Timur Tabi
2004-06-08 20:12 ` Do I need SetPageReserved() after map_user_kiobuf()? (was: What happened to try_to_swap_out()?) Timur Tabi
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=40C5D43F.4060601@ammasso.com \
--to=timur.tabi@ammasso.com \
--cc=linux-mm@kvack.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.