[Devel,RHEL7,COMMIT] fs/dax: remove comment leftover: merge into ms/mm: memcontrol: rewrite uncharge API

Submitted by Konstantin Khorenko on Aug. 30, 2017, 7:16 a.m.

Details

Message ID 201708300716.v7U7GnWl024262@finist_ce7.work
State New
Series "fs/dax: remove comment leftover"
Headers show

Commit Message

Konstantin Khorenko Aug. 30, 2017, 7:16 a.m.
The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.el7
------>
commit d1a7c8e0a2809ea8913f27e0a4a470c8cbf2875b
Author: Andrey Ryabinin <aryabinin@virtuozzo.com>
Date:   Wed Aug 30 10:16:49 2017 +0300

    fs/dax: remove comment leftover: merge into ms/mm: memcontrol: rewrite uncharge API
    
    mem_cgroup_uncharge_page() call in dax_mapping_entry() not needed.
    Uncharging now happens in __page_cache_release()
    
    Should be merged in b3c711a7287f ("ms/mm: memcontrol: rewrite uncharge API")
    
    https://jira.sw.ru/browse/PSBM-70742
    Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
---
 fs/dax.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/dax.c b/fs/dax.c
index 1a7d6a5..2e0c8ba 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -643,7 +643,6 @@  static void *dax_insert_mapping_entry(struct address_space *mapping,
 		       RADIX_DAX_ENTRY_LOCK);
 	if (hole_fill) {
 		__delete_from_page_cache(entry, NULL);
-// FIXME		mem_cgroup_uncharge_page(entry);
 		/* Drop pagecache reference */
 		page_cache_release(entry);
 		error = radix_tree_insert(page_tree, index, new_entry);