aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2025-03-07 11:21:57 +0000
committerJakub Kicinski <[email protected]>2025-03-10 20:35:50 +0000
commite4c28e3d5c09097b5ca7bc5690e01f48adb33811 (patch)
tree07b16cd77d76354f0dcd92e29cf15b84ff34bfdb /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentmptcp: pm: move generic helper at the top (diff)
downloadkernel-e4c28e3d5c09097b5ca7bc5690e01f48adb33811.tar.gz
kernel-e4c28e3d5c09097b5ca7bc5690e01f48adb33811.zip
mptcp: pm: move generic PM helpers to pm.c
Before this patch, the PM code was dispersed in different places: - pm.c had common code for all PMs - pm_netlink.c was supposed to be about the in-kernel PM, but also had exported common helpers, callbacks used by the different PMs, NL events for PM userspace daemon, etc. quite confusing. - pm_userspace.c had userspace PM only code, but using specific in-kernel PM helpers To clarify the code, a reorganisation is suggested here, only by moving code around, and (un)exporting functions: - helpers used from both PMs and not linked to Netlink - callbacks used by different PMs, e.g. ADD_ADDR management - some helpers have been marked as 'static' - protocol.h has been updated accordingly - (while at it, a needless if before a kfree(), spot by checkpatch in mptcp_remove_anno_list_by_saddr(), has been removed) The code around the PM is now less confusing, which should help for the maintenance in the long term. This will certainly impact future backports, but because other cleanups have already done recently, and more are coming to ease the addition of a new path-manager controlled with BPF (struct_ops), doing that now seems to be a good time. Also, many issues around the PM have been fixed a few months ago while increasing the code coverage in the selftests, so such big reorganisation can be done with more confidence now. No behavioural changes intended. Reviewed-by: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions