Re: "BUG: scheduling while atomic" with nested KVM and LVM snapshots

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

 



On 2025-03-14 15:48:57 [+0100], Yoann Congal wrote:
> Hello Sebastian,
Hi Yoann,

> If I understood correctly, this "BUG: scheduling while atomic" message
> is not the same as a BUG_ON() macro and has less side effects :
> * tainting the kernel
> * might panic depending on the configuration
> * signal potential high latencies for realtime workload
> * But does not kill the current thread (like BUG_ON() does)
> 
> So, as long as we don't use dm_snapshot during realtime workload
> (which might cause high latencies and "scheduling while atomic") we
> should be okay.
> 
> Does that sound right to you?

if you don't use dm_snapshot on a PREEMPT_RT kernel, you don't see the
warning, you don't have the warning warns about.

> Regards,

Sebastian




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux