> On Feb 22, 2021, at 11:49 AM, Ryo Shimizu <r...@nerv.org> wrote: > > Ah, You are quite right! > idle/# lwp is provided and assigned for each CPU, so curcpu() obtained from > idle lwp was always the same. > So, there's no need to move curcpu() to after DISABLE_INTERRUPT.
Please make sure to add a comment explaining why! -- thorpej