[Devel] [PATCH RHEL7 COMMIT] fs/dax: remove comment leftover: merge into ms/mm: memcontrol: rewrite uncharge API
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Aug 30 10:16:49 MSK 2017
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 at 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 at virtuozzo.com>
---
fs/dax.c | 1 -
1 file changed, 1 deletion(-)
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);
More information about the Devel
mailing list