aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <[email protected]>2024-04-01 15:36:40 +0000
committerJakub Kicinski <[email protected]>2024-04-04 02:14:53 +0000
commit2f3c7195a702178629575b637f3f9a91eabdab73 (patch)
tree2e29ca607c9b48d7bab415405e3cc303ca27078b /net/unix/af_unix.c
parentMerge branch 'gve-ring-size-changes' (diff)
downloadkernel-2f3c7195a702178629575b637f3f9a91eabdab73.tar.gz
kernel-2f3c7195a702178629575b637f3f9a91eabdab73.zip
net: enable timestamp static key if CPU
For systems that use CPU isolation (via nohz_full), creating or destroying a socket with SO_TIMESTAMP, SO_TIMESTAMPNS or SO_TIMESTAMPING with flag SOF_TIMESTAMPING_RX_SOFTWARE will cause a static key to be enabled/disabled. This in turn causes undesired IPIs to isolated CPUs. So enable the static key unconditionally, if CPU isolation is enabled, thus avoiding the IPIs. Signed-off-by: Marcelo Tosatti <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://lore.kernel.org/r/ZgrUiLLtbEUf9SFn@tpad Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions