Release 4.12 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);
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)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kamezawa Hiroyuki | 18 | 100.00% | 2 | 100.00% |
Total | 18 | 100.00% | 2 | 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 | 81.29% | 3 | 37.50% |
Daisuke Nishimura | 17 | 12.23% | 1 | 12.50% |
Johannes Weiner | 3 | 2.16% | 1 | 12.50% |
Jaswinder Singh Rajput | 2 | 1.44% | 1 | 12.50% |
Andrew Morton | 2 | 1.44% | 1 | 12.50% |
Bob Liu | 2 | 1.44% | 1 | 12.50% |
Total | 139 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.