mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Anderson Briglia" <briglia.anderson@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Trivial fixes on comments related old shrink_list reference
Date: Tue, 29 May 2007 17:35:15 -0400	[thread overview]
Message-ID: <e55525570705291435i9c50addsc37c166cd469f169@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]

Hi all,

This is just a trivial patch to fix the shrink_list name on some files
under mm/ directory.

Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
---
Index: linux-linus-2.6.git/mm/swap_state.c
===================================================================
--- linux-linus-2.6.git.orig/mm/swap_state.c	2007-05-29 17:12:56.000000000 -0400
+++ linux-linus-2.6.git/mm/swap_state.c	2007-05-29 17:13:59.000000000 -0400
@@ -21,7 +21,7 @@

 /*
  * swapper_space is a fiction, retained to simplify the path through
- * vmscan's shrink_list, to make sync_page look nicer, and to allow
+ * vmscan's shrink_page_list, to make sync_page look nicer, and to allow
  * future use of radix_tree tags in the swap cache.
  */
 static const struct address_space_operations swap_aops = {
Index: linux-linus-2.6.git/mm/swapfile.c
===================================================================
--- linux-linus-2.6.git.orig/mm/swapfile.c	2007-05-29 17:12:49.000000000 -0400
+++ linux-linus-2.6.git/mm/swapfile.c	2007-05-29 17:13:39.000000000 -0400
@@ -885,7 +885,7 @@ static int try_to_unuse(unsigned int typ
 		/*
 		 * So we could skip searching mms once swap count went
 		 * to 1, we did not mark any present ptes as dirty: must
-		 * mark page dirty so shrink_list will preserve it.
+		 * mark page dirty so shrink_page_list will preserve it.
 		 */
 		SetPageDirty(page);
 		unlock_page(page);
Index: linux-linus-2.6.git/mm/truncate.c
===================================================================
--- linux-linus-2.6.git.orig/mm/truncate.c	2007-05-29 17:13:08.000000000 -0400
+++ linux-linus-2.6.git/mm/truncate.c	2007-05-29 17:15:03.000000000 -0400
@@ -317,8 +317,8 @@ EXPORT_SYMBOL(invalidate_mapping_pages);
  * This is like invalidate_complete_page(), except it ignores the page's
  * refcount.  We do this because invalidate_inode_pages2() needs stronger
  * invalidation guarantees, and cannot afford to leave pages behind because
- * shrink_list() has a temp ref on them, or because they're transiently sitting
- * in the lru_cache_add() pagevecs.
+ * shrink_page_list() has a temp ref on them, or because they're transiently
+ * sitting in the lru_cache_add() pagevecs.
  */
 static int
 invalidate_complete_page2(struct address_space *mapping, struct page *page)

[-- Attachment #2: trivial_shrink_list_comment.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 1053 bytes --]

                 reply	other threads:[~2007-05-29 21:35 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=e55525570705291435i9c50addsc37c166cd469f169@mail.gmail.com \
    --to=briglia.anderson@gmail.com \
    --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®