summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-05-30 09:44:38 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-06-24 16:18:16 -0400
commitb52124a50fa7b870a3d1a18a8ff56273c7d690dd (patch)
tree8f8de3584f1383125cecc60efb67734e2b585945 /security
parent7eb878ed8e0eae67269439bfd82234f9ba52ffe4 (diff)
downloadlinux-3.10-b52124a50fa7b870a3d1a18a8ff56273c7d690dd.tar.gz
linux-3.10-b52124a50fa7b870a3d1a18a8ff56273c7d690dd.tar.bz2
linux-3.10-b52124a50fa7b870a3d1a18a8ff56273c7d690dd.zip
tipc: Partition name table instance array info into two parts
Modifies the name table array structure that contains the name sequence instances for a given name type so that the publication lists associated with a given instance are stored in a dynamically allocated structure, rather than being embedded within the array entry itself. This change is being done for several reasons: 1) It reduces the amount of data that needs to be copied whenever a given array is expanded or contracted to accommodate the first publication of a new name sequence or the removal of the last publication of an existing name sequence. 2) It reduces the amount of memory associated with array entries that are currently unused. 3) It facilitates the upcoming conversion of the publication lists from TIPC-specific circular lists to standard kernel lists. (Standard lists cannot be used with the former array structure because the relocation of array entries during array expansion and contraction would corrupt the lists.) Note that, aside from introducing a small amount of code to dynamically allocate and free the structure that now holds publication list info, this change is largely a simple renaming exercise that replaces references to "sseq->LIST" with "sseq->info->LIST" (or "info->LIST"). Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions