linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: remove remove_from_page_cache note
@ 2014-06-24  9:17 Lei Li
  2014-06-24  9:25 ` Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: Lei Li @ 2014-06-24  9:17 UTC (permalink / raw)
  To: mhocko; +Cc: cgroups, linux-mm, linux-kernel, 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.

Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
---
 Documentation/cgroups/memcg_test.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
index 8870b02..67c11a3 100644
--- a/Documentation/cgroups/memcg_test.txt
+++ b/Documentation/cgroups/memcg_test.txt
@@ -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
-- 
1.8.5.3

--
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:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: remove remove_from_page_cache note
  2014-06-24  9:17 [PATCH] Documentation: remove remove_from_page_cache note Lei Li
@ 2014-06-24  9:25 ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2014-06-24  9:25 UTC (permalink / raw)
  To: Lei Li; +Cc: cgroups, linux-mm, linux-kernel

On Tue 24-06-14 17:17:42, Lei Li wrote:
> 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.
> 
> Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>

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

Acked-by: Michal Hocko <mhocko@suse.cz>

> ---
>  Documentation/cgroups/memcg_test.txt | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/Documentation/cgroups/memcg_test.txt b/Documentation/cgroups/memcg_test.txt
> index 8870b02..67c11a3 100644
> --- a/Documentation/cgroups/memcg_test.txt
> +++ b/Documentation/cgroups/memcg_test.txt
> @@ -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
> -- 
> 1.8.5.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe cgroups" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Michal Hocko
SUSE Labs

--
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:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-24  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24  9:17 [PATCH] Documentation: remove remove_from_page_cache note Lei Li
2014-06-24  9:25 ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).