On 12/30/21 18:08, Douglas Gilbert wrote:
+ if (READ_ONCE(sdebug_deflect_incoming)) { + pr_info("Exit early due to deflect_incoming\n"); + return 1; + }
The new mechanism will work fine on x86 but not on ARM systems. Please change all READ_ONCE(sdebug_deflect_incoming) calls into smp_load_acquire(&sdebug_deflect_incoming) and all WRITE_ONCE(sdebug_deflect_incoming) calls into smp_store_release(&sdebug_deflect_incoming). Thanks, Bart.