* [cleanup][PATCH] memcg: remove mem_cgroup_cache_charge_swapin()
@ 2009-04-29 3:09 Daisuke Nishimura
2009-04-30 0:11 ` KAMEZAWA Hiroyuki
0 siblings, 1 reply; 2+ messages in thread
From: Daisuke Nishimura @ 2009-04-29 3:09 UTC (permalink / raw)
To: Andrew Morton
Cc: Balbir Singh, KAMEZAWA Hiroyuki, Daisuke Nishimura, linux-mm
From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
memcg: remove mem_cgroup_cache_charge_swapin()
mem_cgroup_cache_charge_swapin() isn't used any more, so remove no-op definition
of it in header file.
Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
---
include/linux/swap.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 62d8143..caf0767 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -431,12 +431,6 @@ static inline swp_entry_t get_swap_page(void)
#define has_swap_token(x) 0
#define disable_swap_token() do { } while(0)
-static inline int mem_cgroup_cache_charge_swapin(struct page *page,
- struct mm_struct *mm, gfp_t mask, bool locked)
-{
- return 0;
-}
-
#endif /* CONFIG_SWAP */
#endif /* __KERNEL__*/
#endif /* _LINUX_SWAP_H */
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [cleanup][PATCH] memcg: remove mem_cgroup_cache_charge_swapin()
2009-04-29 3:09 [cleanup][PATCH] memcg: remove mem_cgroup_cache_charge_swapin() Daisuke Nishimura
@ 2009-04-30 0:11 ` KAMEZAWA Hiroyuki
0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2009-04-30 0:11 UTC (permalink / raw)
To: nishimura; +Cc: Daisuke Nishimura, Andrew Morton, Balbir Singh, linux-mm
On Wed, 29 Apr 2009 12:09:56 +0900
Daisuke Nishimura <d-nishimura@mtf.biglobe.ne.jp> wrote:
> From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
>
> memcg: remove mem_cgroup_cache_charge_swapin()
>
> mem_cgroup_cache_charge_swapin() isn't used any more, so remove no-op definition
> of it in header file.
>
> Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> ---
> include/linux/swap.h | 6 ------
> 1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/include/linux/swap.h b/include/linux/swap.h
> index 62d8143..caf0767 100644
> --- a/include/linux/swap.h
> +++ b/include/linux/swap.h
> @@ -431,12 +431,6 @@ static inline swp_entry_t get_swap_page(void)
> #define has_swap_token(x) 0
> #define disable_swap_token() do { } while(0)
>
> -static inline int mem_cgroup_cache_charge_swapin(struct page *page,
> - struct mm_struct *mm, gfp_t mask, bool locked)
> -{
> - return 0;
> -}
> -
> #endif /* CONFIG_SWAP */
> #endif /* __KERNEL__*/
> #endif /* _LINUX_SWAP_H */
>
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-30 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29 3:09 [cleanup][PATCH] memcg: remove mem_cgroup_cache_charge_swapin() Daisuke Nishimura
2009-04-30 0:11 ` KAMEZAWA Hiroyuki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).