aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-tve.c
diff options
context:
space:
mode:
authorAndrey Ryabinin <[email protected]>2017-02-10 09:54:05 +0000
committerThomas Gleixner <[email protected]>2017-02-10 10:00:23 +0000
commit146fbb766934dc003fcbf755b519acef683576bf (patch)
treecb8a89a1a93abce2de66d5ded015154aebf3af75 /drivers/gpu/drm/imx/imx-tve.c
parentx86/tsc: Make the TSC ADJUST sanitizing work for tsc_reliable (diff)
downloadkernel-146fbb766934dc003fcbf755b519acef683576bf.tar.gz
kernel-146fbb766934dc003fcbf755b519acef683576bf.zip
x86/mm/ptdump: Fix soft lockup in page table walker
CONFIG_KASAN=y needs a lot of virtual memory mapped for its shadow. In that case ptdump_walk_pgd_level_core() takes a lot of time to walk across all page tables and doing this without a rescheduling causes soft lockups: NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [swapper/0:1] ... Call Trace: ptdump_walk_pgd_level_core+0x40c/0x550 ptdump_walk_pgd_level_checkwx+0x17/0x20 mark_rodata_ro+0x13b/0x150 kernel_init+0x2f/0x120 ret_from_fork+0x2c/0x40 I guess that this issue might arise even without KASAN on huge machines with several terabytes of RAM. Stick cond_resched() in pgd loop to fix this. Reported-by: Tobias Regnery <[email protected]> Signed-off-by: Andrey Ryabinin <[email protected]> Cc: [email protected] Cc: Alexander Potapenko <[email protected]> Cc: "Paul E . McKenney" <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
0 files changed, 0 insertions, 0 deletions