projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEM
[cascardo/linux.git]
/
mm
/
vmpressure.c
diff --git
a/mm/vmpressure.c
b/mm/vmpressure.c
index
9a6c070
..
89b1d44
100644
(file)
--- a/
mm/vmpressure.c
+++ b/
mm/vmpressure.c
@@
-275,6
+275,7
@@
void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree,
level = vmpressure_calc_level(scanned, reclaimed);
+#ifdef CONFIG_INET
if (level > VMPRESSURE_LOW) {
/*
* Let the socket buffer allocator know that
@@
-286,6
+287,7
@@
void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree,
*/
memcg->socket_pressure = jiffies + HZ;
}
+#endif
}
}