[PATCH] memcg: kill dead prev_priority stubs

Subsystems: control group - memory resource controller (memcg), the rest

STALE5283d

3 messages, 3 authors, 2012-02-16 · open the first message on its own page

[PATCH] memcg: kill dead prev_priority stubs

From: Konstantin Khlebnikov <hidden>
Date: 2012-02-15 19:27:14

This code was removed in v2.6.35-5854-g25edde0
("vmscan: kill prev_priority completely")

Signed-off-by: Konstantin Khlebnikov <redacted>
---
 include/linux/memcontrol.h |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 453a3dd..c697eda 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -296,21 +296,6 @@ static inline void mem_cgroup_iter_break(struct mem_cgroup *root,
 {
 }
 
-static inline int mem_cgroup_get_reclaim_priority(struct mem_cgroup *memcg)
-{
-	return 0;
-}
-
-static inline void mem_cgroup_note_reclaim_priority(struct mem_cgroup *memcg,
-						int priority)
-{
-}
-
-static inline void mem_cgroup_record_reclaim_priority(struct mem_cgroup *memcg,
-						int priority)
-{
-}
-
 static inline bool mem_cgroup_disabled(void)
 {
 	return true;

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

Re: [PATCH] memcg: kill dead prev_priority stubs

From: KOSAKI Motohiro <hidden>
Date: 2012-02-15 20:37:05

(2/15/12 2:27 PM), Konstantin Khlebnikov wrote:
This code was removed in v2.6.35-5854-g25edde0
("vmscan: kill prev_priority completely")

Signed-off-by: Konstantin Khlebnikov<redacted>
---
  include/linux/memcontrol.h |   15 ---------------
  1 files changed, 0 insertions(+), 15 deletions(-)
Oh, thank you.

Acked-by: KOSAKI Motohiro <redacted>



--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

Re: [PATCH] memcg: kill dead prev_priority stubs

From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-02-16 00:07:54

On Wed, 15 Feb 2012 23:27:08 +0400
Konstantin Khlebnikov [off-list ref] wrote:
This code was removed in v2.6.35-5854-g25edde0
("vmscan: kill prev_priority completely")

Signed-off-by: Konstantin Khlebnikov <redacted>
Acked-by: KAMEZAWA Hiroyuki <redacted>

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help