summaryrefslogtreecommitdiffstats
path: root/Documentation/SAK.txt
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-09-02 09:45:58 -0600
committerIngo Molnar <mingo@kernel.org>2015-09-14 12:10:50 +0200
commitf454b478861325f067fd58ba7ee9f1b5c4a9d6a0 (patch)
treed25a7c9db6df463d5726d85debe2f78a34c9c4ba /Documentation/SAK.txt
parent1e6428124fe22906be0de1622c8fed8e50e5de05 (diff)
downloadlinux-stable-f454b478861325f067fd58ba7ee9f1b5c4a9d6a0.tar.gz
linux-stable-f454b478861325f067fd58ba7ee9f1b5c4a9d6a0.tar.bz2
linux-stable-f454b478861325f067fd58ba7ee9f1b5c4a9d6a0.zip
x86/ldt: Fix small LDT allocation for Xen
While the following commit: 37868fe113 ("x86/ldt: Make modify_ldt synchronous") added a nice comment explaining that Xen needs page-aligned whole page chunks for guest descriptor tables, it then nevertheless used kzalloc() on the small size path. As I'm unaware of guarantees for kmalloc(PAGE_SIZE, ) to return page-aligned memory blocks, I believe this needs to be switched back to __get_free_page() (or better get_zeroed_page()). Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Andy Lutomirski <luto@kernel.org> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: David Vrabel <david.vrabel@citrix.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/55E735D6020000780009F1E6@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/SAK.txt')
0 files changed, 0 insertions, 0 deletions