[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180216215848.GB32655@bombadil.infradead.org>
Date: Fri, 16 Feb 2018 13:58:48 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Wei Wang <wei.w.wang@...el.com>, virtio-dev@...ts.oasis-open.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
qemu-devel@...gnu.org, virtualization@...ts.linux-foundation.org,
kvm@...r.kernel.org, linux-mm <linux-mm@...ck.org>,
"Michael S. Tsirkin" <mst@...hat.com>, mhocko@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <mawilcox@...rosoft.com>, david@...hat.com,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
cornelia.huck@...ibm.com, mgorman@...hsingularity.net,
aarcange@...hat.com, amit.shah@...hat.com,
Paolo Bonzini <pbonzini@...hat.com>,
liliang.opensource@...il.com, yang.zhang.wz@...il.com,
quan.xu0@...il.com, nilal@...hat.com, riel@...hat.com
Subject: Re: [PATCH v21 1/5] xbitmap: Introduce xbitmap
On Fri, Feb 16, 2018 at 11:45:51PM +0200, Andy Shevchenko wrote:
> Now, the question about test case. Why do you heavily use BUG_ON?
> Isn't resulting statistics enough?
No. If any of those tests fail, we want to stop dead. They'll lead to
horrendous bugs throughout the kernel if they're wrong. I think more of
the in-kernel test suite should stop dead instead of printing a warning.
Would you want to boot a machine which has a known bug in the page cache,
for example?
Powered by blists - more mailing lists