]> git.baikalelectronics.ru Git - kernel.git/commit
x86/ldt: Make LDT pgtable free conditional
authorThomas Gleixner <tglx@linutronix.de>
Sun, 31 Dec 2017 15:52:15 +0000 (16:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 31 Dec 2017 15:55:09 +0000 (16:55 +0100)
commit1ad507d7daa945a92abffea62e4b447087cbf25d
tree0fb83d6e1283ec3e3963e14d34573c22e474bbdd
parenta202c2672e50dd55a23bb9f3df16656cf8b37a65
x86/ldt: Make LDT pgtable free conditional

Andy prefers to be paranoid about the pagetable free in the error path of
write_ldt(). Make it conditional and warn whenever the installment of a
secondary LDT fails.

Requested-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ldt.c