Messages in this thread | | | Date | Fri, 30 Sep 2022 18:14:15 -0700 | From | Andrew Morton <> | Subject | Re: [syzbot] WARNING in change_protection |
| |
On Fri, 30 Sep 2022 21:03:53 -0400 Peter Xu <peterx@redhat.com> wrote:
> When PTE_MARKER_UFFD_WP not configured, it's still possible to reach pte > marker code and trigger an warning. Add a few CONFIG_PTE_MARKER_UFFD_WP > ifdefs to make sure the code won't be reached when not compiled in.
Thanks.
Is 679d10331910180 ("mm: introduce PTE_MARKER swap entry") the appropriate Fixes: target?
Should we backport to -stable?
The inlined ifdefs are unpleasing. Let's go with this for now, but some future cleanup would be nice.
| |