On Fri, May 20, 2022 at 02:15:12PM +0000, Christophe Leroy wrote: > > +static inline bool cow_pte_owner_is_same(pmd_t *pmd, pmd_t *owner) > > +{ > > + return (smp_load_acquire(&pmd_page(*pmd)->cow_pte_owner) == owner) ? > > + true : false; Why I wrote like this. ;-) > > The above seems uggly, the following should be equivalent : > > return smp_load_acquire(&pmd_page(*pmd)->cow_pte_owner) == owner; > Thanks.