[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: RFC: New userspace fetch/store API
From:       Mindaugas Rasiukevicius <rmind () netbsd ! org>
Date:       2019-02-28 22:58:08
Message-ID: 20190228225807.0304D84CD0 () mail ! netbsd ! org
[Download RAW message or body]

Jason Thorpe <thorpej@me.com> wrote:
> > Please prefix the size with 'u' if you operate on unsigned types:
> > 
> > ufetch_u{8,16,32,64} and the same for ustore_*
> 
> Even at the expense of being different from atomic_ops(3)?
> 

atomic_ops(3) has atomic_cas_u{int,long}; ufetch_32() vs ufetch_u32()
is less of the concerns, so up to you.

-- 
Mindaugas
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic