Don't WARN about expected W+X pages on Xen
authorBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 03:05:43 +0000 (03:05 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 2 Mar 2018 07:52:22 +0000 (07:52 +0000)
commitbdb8299fb47ef147dd25e44ba2ea0520d2b0e937
tree6bc737081199f6947e4fcfc61f1c6dae7820d371
parent3f95f99d941fca36b843093b2d47ce6e3b75b1ca
Don't WARN about expected W+X pages on Xen

Currently Xen PV domains (or at least dom0) on amd64 tend to have a
large number of low kernel pages with W+X permissions.  It's not
obvious how to fix this, and we're not going to get any new
information by WARNing about this, but we do still want to hear about
other W+X cases.  So add a condition to the WARN_ON.

Gbp-Pq: Topic debian
Gbp-Pq: Name amd64-don-t-warn-about-expected-w+x-pages-on-xen.patch
arch/x86/mm/dump_pagetables.c