From: Rik van Riel <riel@conectiva.com.br>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-mm@kvack.org
Subject: [PATCH] fix page_launder() reactivation
Date: Tue, 21 Aug 2001 21:18:40 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33L.0108212111250.5646-100000@imladris.rielhome.conectiva> (raw)
Hi Alan,
here's a quick fix to make page_launder() not move
pages under ->writepage() back to the active list.
regards,
Rik
--
IA64: a worthy successor to i860.
--- linux-2.4.8-ac8/mm/vmscan.c.orig Tue Aug 21 21:10:03 2001
+++ linux-2.4.8-ac8/mm/vmscan.c Tue Aug 21 21:11:05 2001
@@ -529,7 +529,7 @@
/* Page is or was in use? Move it to the active list. */
if (PageReferenced(page) || page->age > 0 ||
page_count(page) > (1 + !!page->buffers) ||
- page_ramdisk(page)) {
+ page_ramdisk(page) && !PageLocked(page)) {
del_page_from_inactive_dirty_list(page);
add_page_to_active_list(page);
continue;
--
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/
reply other threads:[~2001-08-22 0:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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.33L.0108212111250.5646-100000@imladris.rielhome.conectiva \
--to=riel@conectiva.com.br \
--cc=alan@lxorguk.ukuu.org.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox