Re: [PATCH v1] mm/kfence: disable KFENCE upon KASAN HW tags enablement

From: Alexander Potapenko

Date: Fri Feb 20 2026 - 09:52:49 EST


> But this requires adding __GFP_SKIP_KASAN as allowed in
> __alloc_contig_verify_gfp_mask I think. Unsure if there is a cleaner way
> of doing it, or if changing __alloc_contig_verify_gfp_mask could break
> something else unexpectedly.
>
> I would be happy to try to submit a patch for it :)
Sorry, I was working on a patch when I saw this email.

Let me send it.