diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2011-02-28 17:32:27 +0100 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-03-13 21:35:18 +0100 |
commit | 37b9c08a88f9a82456bb11fa050cccb544e8dc60 (patch) | |
tree | 6e90ee920265bfd5e56a9919f1bc7667ab6aa182 /firmware/emi26 | |
parent | tipc: Give Tx of discovery responses priority over link messages (diff) | |
download | linux-37b9c08a88f9a82456bb11fa050cccb544e8dc60.tar.xz linux-37b9c08a88f9a82456bb11fa050cccb544e8dc60.zip |
tipc: Optimizations to link creation code
Enhances link creation code as follows:
1) Detects illegal attempts to add a requested link earlier in the
link creation process. This prevents TIPC from wasting time
initializing a link object it then throws away, and also eliminates
the code needed to do the throwing away.
2) Passes in the node object associated with the requested link.
This allows TIPC to eliminate a search to locate the node object,
as well as code that attempted to create the node if it doesn't
exist.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'firmware/emi26')
0 files changed, 0 insertions, 0 deletions