]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Optimize setting of immutable payload message header fields
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 9 Nov 2011 21:30:55 +0000 (16:30 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 29 Feb 2012 16:45:35 +0000 (11:45 -0500)
commitdcf2295f64385f2be5bbe73440d54bcea5c31345
tree11d5ba1e7539d866742d26c623fd5d4003e802b3
parent9487db7d8ff73a8a1271038ab500ee5f3b422f04
tipc: Optimize setting of immutable payload message header fields

Optimizes routines that send payload messages so that they no longer
update the "originating node" and "originating port" fields of the
outgoing message header template, since these fields are initialized
when the sending port is created and never change thereafter. Also
optimizes the routine which updates the message header template when
a connection to a port is established, for the same reason.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/port.c