]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Eliminate configuration for maximum number of cluster nodes
authorAllan Stephens <Allan.Stephens@windriver.com>
Fri, 25 Feb 2011 19:22:11 +0000 (14:22 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Mar 2011 20:35:17 +0000 (16:35 -0400)
commit925f6112c3f8740f0e9a596a7dcd2aea2377f565
tree8024a1771fae59bddaa8f83c025ea9d5d9743f59
parent751922c51b1bf79d3e234ffca0568720a73810a3
tipc: Eliminate configuration for maximum number of cluster nodes

Gets rid of the need for users to specify the maximum number of
cluster nodes supported by TIPC. TIPC now automatically provides
support for all 4K nodes allowed by its addressing scheme.

Note: This change sets TIPC's memory usage to the amount used by
a maximum size node table with 4K entries.  An upcoming patch that
converts the node table from a linear array to a hash table will
compact the node table to a more efficient design, but for clarity
it is nice to have all the Kconfig infrastruture go away separately.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/tipc_config.h
net/tipc/Kconfig
net/tipc/addr.c
net/tipc/config.c
net/tipc/core.c
net/tipc/core.h
net/tipc/net.c