Skip to contentSkip to conversation

Documentation: remove remove_from_page_cache note

PATCH In review Lei Li 2 participants 2 messages Jun 24, 2014

Subsystems (3)
lore
Share & tools
lore

Lei Li

author
#0 lore raw

PATCH 1/1 Documentation: remove remove_from_page_cache note

Remove this note as remove_from_page_cache has been renamed to delete_from_page_cache since Commit 702cfbf9 ("mm: goodbye remove_from_page_cache()"), and it doesn't serve any useful purpose.

---
 Documentation/cgroups/memcg_test.txt | 2 --
 1 file changed, 2 deletions(-)
Documentation/cgroups/memcg_test.txt +0 -2
index 8870b02..67c11a3 100644
@@ -82,8 +82,6 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	- add_to_page_cache_locked().
 
 	The logic is very clear. (About migration, see below)
-	Note: __remove_from_page_cache() is called by remove_from_page_cache()
-	and __remove_mapping().
 
 6. Shmem(tmpfs) Page Cache
 	The best way to understand shmem's page state transition is to read
Signature · 1 line
1.8.5.3
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Lei Li

Remove this note as remove_from_page_cache has been renamed to delete_from_page_cache since Commit 702cfbf9 ("mm: goodbye remove_from_page_cache()"), and it doesn't serve any useful purpose.

I am not sure how up-to-date the file is but this small clean up will not hurt.

Quoted 24 lines
---
 Documentation/cgroups/memcg_test.txt | 2 --
 1 file changed, 2 deletions(-)
Documentation/cgroups/memcg_test.txt +0 -2
index 8870b02..67c11a3 100644
@@ -82,8 +82,6 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	- add_to_page_cache_locked().
 
 	The logic is very clear. (About migration, see below)
-	Note: __remove_from_page_cache() is called by remove_from_page_cache()
-	and __remove_mapping().
 
 6. Shmem(tmpfs) Page Cache
 	The best way to understand shmem's page state transition is to read
Signature · 6 lines
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Michal Hocko
SUSE Labs