[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f1ba12f-1126-46a1-a1ed-4f47ed5a5ffa@huawei.com>
Date: Thu, 26 Aug 2021 12:21:27 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Marco Elver <elver@...gle.com>, <akpm@...ux-foundation.org>
CC: <glider@...gle.com>, <dvyukov@...gle.com>,
<linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
<kasan-dev@...glegroups.com>
Subject: Re: [PATCH] kfence: test: fail fast if disabled at boot
On 2021/8/25 18:55, Marco Elver wrote:
> Fail kfence_test fast if KFENCE was disabled at boot, instead of each
> test case trying several seconds to allocate from KFENCE and failing.
> KUnit will fail all test cases if kunit_suite::init returns an error.
>
> Even if KFENCE was disabled, we still want the test to fail, so that CI
> systems that parse KUnit output will alert on KFENCE being disabled
> (accidentally or otherwise).
>
> Reported-by: Kefeng Wang <wangkefeng.wang@...wei.com>
> Signed-off-by: Marco Elver <elver@...gle.com>
Finally find this, it's better, and tested, thanks
Powered by blists - more mailing lists