Re: [PATCH v5 1/8] KVM: arm/arm64: Remove redundant preemptible checks

2017-12-01 Thread Andre Przywara
Hi, On 20/11/17 19:16, Christoffer Dall wrote: > The __this_cpu_read() and __this_cpu_write() functions already implement > checks for the required preemption levels when using > CONFIG_DEBUG_PREEMPT which gives you nice error messages and such. > Therefore there is no need to explicitly check

[PATCH v5 1/8] KVM: arm/arm64: Remove redundant preemptible checks

2017-11-20 Thread Christoffer Dall
The __this_cpu_read() and __this_cpu_write() functions already implement checks for the required preemption levels when using CONFIG_DEBUG_PREEMPT which gives you nice error messages and such. Therefore there is no need to explicitly check this using a BUG_ON() in the code (which we don't do for