Release 4.13 include/linux/swap_cgroup.h
#ifndef __LINUX_SWAP_CGROUP_H
#define __LINUX_SWAP_CGROUP_H
#include <linux/swap.h>
#ifdef CONFIG_MEMCG_SWAP
extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent,
unsigned short old, unsigned short new);
extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id,
unsigned int nr_ents);
extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent);
extern int swap_cgroup_swapon(int type, unsigned long max_pages);
extern void swap_cgroup_swapoff(int type);
#else
static inline
unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id,
unsigned int nr_ents)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 18 | 81.82% | 2 | 66.67% |
Huang Ying | 4 | 18.18% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
static inline
unsigned short lookup_swap_cgroup_id(swp_entry_t ent)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 13 | 92.86% | 2 | 66.67% |
Bob Liu | 1 | 7.14% | 1 | 33.33% |
Total | 14 | 100.00% | 3 | 100.00% |
static inline int
swap_cgroup_swapon(int type, unsigned long max_pages)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline void swap_cgroup_swapoff(int type)
{
return;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_MEMCG_SWAP */
#endif /* __LINUX_SWAP_CGROUP_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 113 | 76.87% | 3 | 33.33% |
Daisuke Nishimura | 17 | 11.56% | 1 | 11.11% |
Huang Ying | 8 | 5.44% | 1 | 11.11% |
Johannes Weiner | 3 | 2.04% | 1 | 11.11% |
Jaswinder Singh Rajput | 2 | 1.36% | 1 | 11.11% |
Andrew Morton | 2 | 1.36% | 1 | 11.11% |
Bob Liu | 2 | 1.36% | 1 | 11.11% |
Total | 147 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.