Re: selftests/livepatch fails on s390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 19, 2023 at 09:50:18AM -0500, Joe Lawrence wrote:
> There is a loop_util() utility function in the script that could be used
> to wait, like:
> 
> 	log "$last_dmesg_msg"
> 	loop_until "dmesg | grep -q '$last_dmesg_msg'" ||
> 		die "Can't find canary dmesg entry, buffer overrun?"
> 	LAST_DMESG=$(dmesg | grep "$last_dmesg_msg")
> 
> That should catch 1) short latencies and 2) buffer rollover.  Maybe that
> is good enough?

I guess, if loop_until() would fail in case a message did not show up
in meaningful time, that would be it.

> -- 
> Joe
> 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux