Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1291515
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 16/32] x86, mm: simplify get_user_pages() PTE bit handling |
| Date | 2015-12-14 21:00 +0100 |
| Message-ID | <qFHrQ-2a3-9@gated-at.bofh.it> (permalink) |
| References | <qFGFr-1Ro-7@gated-at.bofh.it> <qFGFs-1Ro-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 14 Dec 2015, Dave Hansen wrote: > The current get_user_pages() code is a wee bit more complicated > than it needs to be for pte bit checking. Currently, it establishes > a mask of required pte _PAGE_* bits and ensures that the pte it > goes after has all those bits. > > This consolidates the three identical copies of this code. > > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 16/32] x86, mm: simplify get_user_pages() PTE bit handling Dave Hansen <dave@sr71.net> - 2015-12-14 20:10 +0100 Re: [PATCH 16/32] x86, mm: simplify get_user_pages() PTE bit handling Thomas Gleixner <tglx@linutronix.de> - 2015-12-14 21:00 +0100
csiph-web