From: Jon Maloy <[email protected]> Date: Thu, 28 Jun 2018 22:39:25 +0200
> From: Tung Nguyen <[email protected]> > > In single-link usage, the function tipc_node_timeout() still iterates > over the whole link array to handle each link. Given that the maximum > number of bearers are 3, there are 2 redundant iterations with lock > grab/release. Since this function is executing very frequently it makes > sense to optimize it. > > This commit adds conditional checking to exit from the loop if the > known number of configured links has already been accessed. > > Acked-by: Ying Xue <[email protected]> > Signed-off-by: Tung Nguyen <[email protected]> > Signed-off-by: Jon Maloy <[email protected]> Applied. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
