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