mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 04:37:57 +07:00
3962446922
The asm-generic/preempt.h implementation doesn't make use of the PREEMPT_NEED_RESCHED flag, since this can interact badly with load/store architectures which rely on the preempt_count word being unchanged across an interrupt. However, since we're a 64-bit architecture and the preempt count is only 32 bits wide, we can simply pack it next to the resched flag and load the whole thing in one go, so that a dec-and-test operation doesn't need to load twice. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
29 lines
664 B
Makefile
29 lines
664 B
Makefile
generic-y += bugs.h
|
|
generic-y += delay.h
|
|
generic-y += div64.h
|
|
generic-y += dma.h
|
|
generic-y += dma-contiguous.h
|
|
generic-y += early_ioremap.h
|
|
generic-y += emergency-restart.h
|
|
generic-y += hw_irq.h
|
|
generic-y += irq_regs.h
|
|
generic-y += kdebug.h
|
|
generic-y += kmap_types.h
|
|
generic-y += local.h
|
|
generic-y += local64.h
|
|
generic-y += mcs_spinlock.h
|
|
generic-y += mm-arch-hooks.h
|
|
generic-y += msi.h
|
|
generic-y += qrwlock.h
|
|
generic-y += qspinlock.h
|
|
generic-y += rwsem.h
|
|
generic-y += segment.h
|
|
generic-y += serial.h
|
|
generic-y += set_memory.h
|
|
generic-y += sizes.h
|
|
generic-y += switch_to.h
|
|
generic-y += trace_clock.h
|
|
generic-y += unaligned.h
|
|
generic-y += user.h
|
|
generic-y += vga.h
|