On Mon, Jan 25, 2021 at 01:27:51PM -0800, Yu, Yu-cheng wrote: > > Maybe I'm missing something but those two can happen outside of the > > loop, no? Or is *ptep somehow changing concurrently while the loop is > > doing the CMPXCHG and you need to recreate it each time? > > > > IOW, you can generate upfront and do the empty loop... > > *ptep can change concurrently. Care to elaborate? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette