mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-16 11:01:12 -05:00
Merge tag 'livepatching-for-6.11-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching fix from Petr Mladek: "Selftest regression fix" * tag 'livepatching-for-6.11-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching: selftests/livepatch: wait for atomic replace to occur
This commit is contained in:
@@ -139,11 +139,8 @@ load_lp $MOD_REPLACE replace=1
|
||||
grep 'live patched' /proc/cmdline > /dev/kmsg
|
||||
grep 'live patched' /proc/meminfo > /dev/kmsg
|
||||
|
||||
mods=(/sys/kernel/livepatch/*)
|
||||
nmods=${#mods[@]}
|
||||
if [ "$nmods" -ne 1 ]; then
|
||||
die "Expecting only one moduled listed, found $nmods"
|
||||
fi
|
||||
loop_until 'mods=(/sys/kernel/livepatch/*); nmods=${#mods[@]}; [[ "$nmods" -eq 1 ]]' ||
|
||||
die "Expecting only one moduled listed, found $nmods"
|
||||
|
||||
# These modules were disabled by the atomic replace
|
||||
for mod in $MOD_LIVEPATCH3 $MOD_LIVEPATCH2 $MOD_LIVEPATCH1; do
|
||||
|
||||
Reference in New Issue
Block a user