2012-02-15 19:27:14

by Konstantin Khlebnikov

[permalink] [raw]
Subject: [PATCH] memcg: kill dead prev_priority stubs

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

Signed-off-by: Konstantin Khlebnikov <[email protected]>
---
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;


2012-02-15 20:37:05

by KOSAKI Motohiro

[permalink] [raw]
Subject: Re: [PATCH] memcg: kill dead prev_priority stubs

(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<[email protected]>
> ---
> include/linux/memcontrol.h | 15 ---------------
> 1 files changed, 0 insertions(+), 15 deletions(-)

Oh, thank you.

Acked-by: KOSAKI Motohiro <[email protected]>


2012-02-16 00:07:54

by Kamezawa Hiroyuki

[permalink] [raw]
Subject: Re: [PATCH] memcg: kill dead prev_priority stubs

On Wed, 15 Feb 2012 23:27:08 +0400
Konstantin Khlebnikov <[email protected]> wrote:

> This code was removed in v2.6.35-5854-g25edde0
> ("vmscan: kill prev_priority completely")
>
> Signed-off-by: Konstantin Khlebnikov <[email protected]>

Acked-by: KAMEZAWA Hiroyuki <[email protected]>