Thread (16 messages) 16 messages, 6 authors, 2022-08-18

Re: upstream kernel crashes

flat view

From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Date: 2022-08-18 01:57:47
Also in: lkml, virtualization

Possibly related (same subject, not in this thread)

On Wed, 17 Aug 2022 08:58:20 -0700, Linus Torvalds [off-list ref] wrote:
On Tue, Aug 16, 2022 at 11:47 PM Xuan Zhuo [off-list ref] wrote:
quoted
+       BUG_ON(num != virtqueue_get_vring_size(vq));
+
Please, no more BUG_ON.

Add a WARN_ON_ONCE() and return an  error.
OK, I will post v2 with WARN_ON_ONCE().

Thanks.

           Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help