Re: [PATCH v2 4/7] per-cgroup tcp buffers control

From: Kirill A. Shutemov
Date: Sat Sep 17 2011 - 14:11:49 EST


On Wed, Sep 14, 2011 at 10:46:12PM -0300, Glauber Costa wrote:
> +int tcp_init_cgroup_fill(struct proto *prot, struct cgroup *cgrp,
> + struct cgroup_subsys *ss)
> +{
> + prot->enter_memory_pressure = tcp_enter_memory_pressure;
> + prot->memory_allocated = memory_allocated_tcp;
> + prot->prot_mem = tcp_sysctl_mem;
> + prot->sockets_allocated = sockets_allocated_tcp;
> + prot->memory_pressure = memory_pressure_tcp;

No fancy formatting, please.

--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/