]> 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)
commit73c3ae955b98727424b7b0144216004ecdc4d144
tree0fb83d6e1283ec3e3963e14d34573c22e474bbdd
parent7dd381ba35a21226d8669522414cfdf87909aff8
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