summaryrefslogtreecommitdiff
path: root/mausezahn/.gitignore
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-09-12 18:50:16 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-09-23 15:41:55 +0200
commit408e36cf6e12d34d67bf2c1694428533060f9b14 (patch)
treeede780d9b7fcf51419def09e85cc6a3a82a01d73 /mausezahn/.gitignore
parent3726c9e5c593c49f67249bf77c551d371c600a21 (diff)
trafgen: remove inner loop
Get rid of inner loop in fast path. This simplifies code and readability. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'mausezahn/.gitignore')
0 files changed, 0 insertions, 0 deletions
on() is pretty pointless in this code because the timer is strictlty per CPU, initialized as pinned and all operations which arm the timer happen on the CPU to which the timer belongs. Simplify the whole machinery by using mod_timer() instead of add_timer_on() which avoids the problem because mod_timer() can handle already queued timers. Use __start_timer() everywhere so the earliest armed expiry time is preserved. Reported-by: Erik Veijola <erik.veijola@intel.com> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/atm/Makefile')