mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
2e685cad57
Replace the pointers in struct cg_proto with actual data fields and kill struct tcp_memcontrol as it is not fully redundant. This removes a confusing, unnecessary layer of abstraction. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
8 lines
254 B
C
8 lines
254 B
C
#ifndef _TCP_MEMCG_H
|
|
#define _TCP_MEMCG_H
|
|
|
|
struct cg_proto *tcp_proto_cgroup(struct mem_cgroup *memcg);
|
|
int tcp_init_cgroup(struct mem_cgroup *memcg, struct cgroup_subsys *ss);
|
|
void tcp_destroy_cgroup(struct mem_cgroup *memcg);
|
|
#endif /* _TCP_MEMCG_H */
|