Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fixes from Thomas Gleixner:
"Two small fixlets for x86:

- Prevent a KASAN false positive in thread_saved_pc()

- Fix a 32-bit truncation problem in the x86 numa code"

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/mm/numa: Fix 32-bit memblock range truncation bug on 32-bit NUMA kernels
x86: Fix KASAN false positives in thread_saved_pc()

+2 -2
+1 -1
arch/x86/include/asm/processor.h
··· 766 766 * Return saved PC of a blocked thread. 767 767 * What is this good for? it will be always the scheduler or ret_from_fork. 768 768 */ 769 - #define thread_saved_pc(t) (*(unsigned long *)((t)->thread.sp - 8)) 769 + #define thread_saved_pc(t) READ_ONCE_NOCHECK(*(unsigned long *)((t)->thread.sp - 8)) 770 770 771 771 #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) 772 772 extern unsigned long KSTK_ESP(struct task_struct *task);
+1 -1
arch/x86/mm/numa.c
··· 469 469 { 470 470 int i, nid; 471 471 nodemask_t numa_kernel_nodes = NODE_MASK_NONE; 472 - unsigned long start, end; 472 + phys_addr_t start, end; 473 473 struct memblock_region *r; 474 474 475 475 /*