Re: [RFC PATCH 1/2] kfence: Allow re-enabling KFENCE after system startup
From: Marco Elver
Date: Sat Mar 05 2022 - 04:41:08 EST
On Sat, 5 Mar 2022 at 07:06, Tianchen Ding <dtcccc@xxxxxxxxxxxxxxxxx> wrote:
[...]
> Hmm...
> I found KFENCE_WARN_ON() may be called when sample_interval==0. (e.g.,
> kfence_guarded_free())
> So it's better to add a bool.
Yes, that's probably safer and easier.
Thanks,
-- Marco