linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Timur Tabi <timur.tabi@ammasso.com>
Cc: linux-mm@kvack.org
Subject: Re: What happened to try_to_swap_out()?
Date: Tue, 8 Jun 2004 12:25:43 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0406081224590.23676-100000@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <40C5D43F.4060601@ammasso.com>

On Tue, 8 Jun 2004, Timur Tabi wrote:

> 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.

Looks like the bug is in your driver, not the VM.

The VMA that maps such pages should be set VM_RESERVED
(or whatever the name of that flag was)

> 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?

Yes.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

--
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>

  reply	other threads:[~2004-06-08 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08 14:59 Timur Tabi
2004-06-08 16:25 ` Rik van Riel [this message]
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=Pine.LNX.4.44.0406081224590.23676-100000@chimarrao.boston.redhat.com \
    --to=riel@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=timur.tabi@ammasso.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