[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1403159545-8029-1-git-send-email-lilei@linux.vnet.ibm.com>
Date: Thu, 19 Jun 2014 14:32:25 +0800
From: Lei Li <lilei@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org
Cc: cgroups@...r.kernel.org, linux-mm@...ck.org, mhocko@...e.cz,
Lei Li <lilei@...ux.vnet.ibm.com>
Subject: [PATCH] Documentation: Update remove_from_page_cache with delete_from_page_cache
remove_from_page_cache has been renamed to delete_from_page_cache
since Commit 702cfbf9 ("mm: goodbye remove_from_page_cache()"), adapt
to it in Memcg documentation.
Signed-off-by: Lei Li <lilei@...ux.vnet.ibm.com>
---
Documentation/cgroups/memcg_test.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
index 80ac454..b2d6ccc 100644
--- a/Documentation/cgroups/memcg_test.txt
+++ b/Documentation/cgroups/memcg_test.txt
@@ -171,10 +171,10 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
- add_to_page_cache_locked().
uncharged at
- - __remove_from_page_cache().
+ - __delete_from_page_cache().
The logic is very clear. (About migration, see below)
- Note: __remove_from_page_cache() is called by remove_from_page_cache()
+ Note: __delete_from_page_cache() is called by delete_from_page_cache()
and __remove_mapping().
6. Shmem(tmpfs) Page Cache
--
1.8.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists