aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2009-01-21 15:54:54 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-21 15:54:54 -0800
commita6bcf1c1d38e0672db35e0d9f2504ac04ddf3ed5 (patch)
treeb6a27576096c40a89502f22bf420a408c54b2d63 /arch
parentnet: pppoe - code cleanup and helpers (diff)
downloadlinux-dev-a6bcf1c1d38e0672db35e0d9f2504ac04ddf3ed5.tar.xz
linux-dev-a6bcf1c1d38e0672db35e0d9f2504ac04ddf3ed5.zip
net: pppoe - introduce net-namespace functionality
- each net-namespace for pppoe module is having own hash table and appropriate locks wich are allocated at time of namespace intialization. It requires about 140 bytes of memory for every new namespace but such approach allow us to escape from hash chains growing and additional lock contends (especially in SMP environment). - pppox code allows to create per-namespace sockets for PX_PROTO_OE protocol only (since at this moment support for pppol2tp net-namespace is not implemented yet). Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions