Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317054
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ix86: fix types used in pgprot cachability flags translations |
| Date | 2016-01-25 18:10 +0100 |
| Message-ID | <qUSOp-7cE-59@gated-at.bofh.it> (permalink) |
| References | <qUSv0-6M7-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 25 Jan 2016, Jan Beulich wrote: > For PAE kernels "unsigned long" is not suitable to hold page protection > flags, since _PAGE_NX doesn't fit there. This is the reason for quite a > few W+X pages getting reported as insecure during boot (observed namely > for the entire initrd range). > > Quite the other way around, "unsigned long" is inefficient for 64-bit > kernels when dealing with cachability flags alone - "unsigned int" is > sufficient here and allows for slightly smaller code to be generated. This part has nothing to do with the fix. Can you please avoid to mix fixes, which require backporting and code enhancements? Thanks, tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ix86: fix types used in pgprot cachability flags translations "Jan Beulich" <JBeulich@suse.com> - 2016-01-25 17:50 +0100
Re: [PATCH] ix86: fix types used in pgprot cachability flags translations Thomas Gleixner <tglx@linutronix.de> - 2016-01-25 18:10 +0100
[PATCH v2] ix86: fix types used in pgprot cachability flags translations "Jan Beulich" <JBeulich@suse.com> - 2016-01-26 12:20 +0100
Re: [PATCH v2] ix86: fix types used in pgprot cachability flags translations Juergen Gross <jgross@suse.com> - 2016-01-26 12:30 +0100
[tip:x86/urgent] x86/mm: Fix types used in pgprot cacheability flags translations tip-bot for Jan Beulich <tipbot@zytor.com> - 2016-01-26 21:20 +0100
csiph-web