]> git.proxmox.com Git - mirror_ovs.git/commit - datapath/linux/Modules.mk
datapath: compat: Introduce static key support
authorYi-Hung Wei <yihung.wei@gmail.com>
Fri, 17 Aug 2018 09:05:04 +0000 (02:05 -0700)
committerJustin Pettit <jpettit@ovn.org>
Fri, 17 Aug 2018 16:30:36 +0000 (09:30 -0700)
commit6660a9597a49ddcd84bc5dd68334eea0605cef0d
tree404992de60dbb02befd338ec529f7e9044ef5b39
parent744964326f6c74894dbb129e6c1b512a762f78e5
datapath: compat: Introduce static key support

Static keys allow the inclusion of seldom used features in
performance-sensitive fast-path kernel code, via a GCC feature and a
code patching technique. For more information:
    * https://www.kernel.org/doc/Documentation/static-keys.txt

Since upstream ovs kernel module now uses some static key API that was
introduced in v4.3 kernel, we shall backport them to the compat module
for older kernel supprots.

This backport is based on upstream net-next commit 11276d5306b8
("locking/static_keys: Add a new static_key interface").

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Justin Pettit <jpettit@ovn.org>
acinclude.m4
datapath/linux/Modules.mk
datapath/linux/compat/include/linux/static_key.h [new file with mode: 0644]