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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Apr 2018 10:13:03 +0000 (11:13 +0100)
commita0ed9ac6b4963ba17300e64bc1a4249d2b189777
tree879b1fcfee0bd256dfeed5a2488c530ef58ad0c1
parent811e3d08caedfd58fc9e21581ed9d5e9b302788e
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