-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
None
-
Important
-
rhel-sst-kernel-tps
-
ssg_core_kernel
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
systemctl start ovsdb-server gives a ton of kernel warnings. In digging in a bit, I was very surprised to discover that ovs uses the `perf_event_open` system call, from `perf trace`:
2873.260 (13.631 ms): ovsdb-server/2354 perf_event_open(attr_uptr: 0x7ffd1c915ab0, cpu: -1, group_fd: -1) = 16
Traces look like this:
````
[ 1015.975610] Call Trace:
[ 1015.975611] <TASK>
[ 1015.975611] perf_event_context_sched_out+0x1bf/0x460
[ 1015.975613] __perf_event_task_sched_out+0x50/0x170
[ 1015.975614] ? put_prev_task_fair+0x1b/0x30
[ 1015.975617] ? pick_next_task+0x851/0x940
[ 1015.975617] prepare_task_switch+0xbd/0x2a0
[ 1015.975619] __schedule+0x1cb/0x620
[ 1015.975621] schedule+0x5a/0xc0
[ 1015.975622] schedule_hrtimeout_range_clock+0xbf/0x1b0
[ 1015.975623] ? __hrtimer_init+0xc0/0xc0
[ 1015.975624] do_poll.constprop.0+0x225/0x390
[ 1015.975625] do_sys_poll+0x1c8/0x260
[ 1015.975627] ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 1015.975628] ? __x64_sys_accept+0x17/0x20
[ 1015.975628] ? xas_load+0x5/0xa0
[ 1015.975629] ? xa_load+0x70/0xb0
[ 1015.975630] ? xas_load+0x5/0xa0
[ 1015.975631] ? xa_load+0x70/0xb0
[ 1015.975632] ? memcg_list_lru_alloc+0xa8/0x350
[ 1015.975633] ? __pollwait+0xe0/0xe0
[ 1015.975634] ? __pollwait+0xe0/0xe0
[ 1015.975635] ? __pollwait+0xe0/0xe0
[ 1015.975636] ? __skb_recv_datagram+0x85/0xc0
[ 1015.975637] ? skb_recv_datagram+0x3b/0x60
[ 1015.975638] ? unix_accept+0x93/0x180
[ 1015.975639] ? rcu_nocb_try_bypass+0x4d/0x440
[ 1015.975640] ? task_work_add+0x79/0x90
[ 1015.975642] ? __inode_wait_for_writeback+0x7e/0xf0
[ 1015.975643] ? rcu_nocb_try_bypass+0x4d/0x440
[ 1015.975644] ? rseq_get_rseq_cs.isra.0+0x16/0x220
[ 1015.975645] ? rseq_ip_fixup+0x72/0x1a0
[ 1015.975645] ? call_rcu+0x114/0x320
[ 1015.975646] ? kvm_clock_get_cycles+0x14/0x30
[ 1015.975647] ? ktime_get_ts64+0x49/0xf0
[ 1015.975648] __x64_sys_poll+0xa6/0x140
[ 1015.975649] do_syscall_64+0x59/0x90
[ 1015.975650] ? do_syscall_64+0x69/0x90
[ 1015.975651] ? do_syscall_64+0x69/0x90
[ 1015.975652] ? exit_to_user_mode_prepare+0xec/0x100
[ 1015.975653] ? syscall_exit_to_user_mode+0x12/0x30
[ 1015.975654] ? do_syscall_64+0x69/0x90
[ 1015.975655] ? syscall_exit_to_user_mode+0x12/0x30
[ 1015.975656] ? do_syscall_64+0x69/0x90
[ 1015.975657] ? do_syscall_64+0x69/0x90
[ 1015.975657] ? sysvec_apic_timer_interrupt+0x3c/0x90
[ 1015.975659] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 1015.975659] RIP: 0033:0x7f8014ac6937
[ 1015.975660] Code: 00 00 00 5b 49 8b 45 10 5d 41 5c 41 5d 41 5e c3 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 07 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 1015.975660] RSP: 002b:00007ffd1c915a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000007
[ 1015.975661] RAX: ffffffffffffffda RBX: 00000000000f8e31 RCX: 00007f8014ac6937
[ 1015.975662] RDX: 00000000000009c4 RSI: 0000000000000003 RDI: 000055d929cad760
[ 1015.975662] RBP: 0000000000000001 R08: 0000016310adb0be R09: 7fffffffffffffff
[ 1015.975663] R10: 00007ffd1c99d080 R11: 0000000000000246 R12: 0000000000000003
[ 1015.975663] R13: 000055d929cad760 R14: 0000000000000000 R15: 00000000000009c4
[ 1015.975664] </TASK>
```
Version-Release number of selected component (if applicable):
[root@cosa-devsh ~]# rpm -q kernel openvswitch3.1
kernel-5.14.0-282.el9.x86_64
openvswitch3.1-3.1.0-2.el9fdp.x86_64
[root@cosa-devsh ~]#
How reproducible: Always
Steps to Reproduce:
1. Install above packages
2. systemctl start ovsdb-server
- external trackers