Release 4.7 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 | 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 | kamezawa hiroyuki | 13 | 92.86% | 2 | 66.67% |
bob liu | 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 | 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 | 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 | kamezawa hiroyuki | 111 | 79.86% | 3 | 33.33% |
daisuke nishimura | daisuke nishimura | 17 | 12.23% | 1 | 11.11% |
johannes weiner | johannes weiner | 5 | 3.60% | 2 | 22.22% |
andrew morton | andrew morton | 2 | 1.44% | 1 | 11.11% |
bob liu | bob liu | 2 | 1.44% | 1 | 11.11% |
jaswinder singh rajput | jaswinder singh rajput | 2 | 1.44% | 1 | 11.11% |
| Total | 139 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.