Re: [PATCH v2 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-12-04 Thread Ard Biesheuvel
On Fri, 30 Nov 2018 at 18:34, Will Deacon wrote: > > 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,

Re: [PATCH v2 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-12-04 Thread Ard Biesheuvel
On Fri, 30 Nov 2018 at 18:34, Will Deacon wrote: > > 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,

[PATCH v2 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-11-30 Thread Will Deacon
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

[PATCH v2 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-11-30 Thread Will Deacon
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