]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kaiser: drop is_atomic arg to kaiser_pagetable_walk()
authorHugh Dickins <hughd@google.com>
Sun, 29 Oct 2017 18:36:19 +0000 (11:36 -0700)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:20:09 +0000 (10:20 -0800)
commit0c58094b55ec94fae83b38b9a0c96bc67527fabd
treef4f01c94efa57cce2a135973206462ec712d0a01
parent55ae36347d17c821d4c7fbf18f679cbe38f8b76b
kaiser: drop is_atomic arg to kaiser_pagetable_walk()

I have not observed a might_sleep() warning from setup_fixmap_gdt()'s
use of kaiser_add_mapping() in our tree (why not?), but like upstream
we have not provided a way for that to pass is_atomic true down to
kaiser_pagetable_walk(), and at startup it's far from a likely source
of trouble: so just delete the walk's is_atomic arg and might_sleep().

Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 28c6de5441740f868a5b371804a0e8dde03757fb)
Orabug: 27333760
CVE: CVE-2017-5754
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Conflicts:
arch/x86/mm/kaiser.c

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/mm/kaiser.c