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

List:       netbsd-tech-kern
Subject:    Re: Changing __USING_TOPDOWN_VM to a runtime decision
From:       Martin Husemann <martin () duskware ! de>
Date:       2013-11-06 8:13:26
Message-ID: 20131106081326.GA1027 () mail ! duskware ! de
[Download RAW message or body]

On Wed, Nov 06, 2013 at 01:40:27AM +0000, Christos Zoulas wrote:
> I don't like the !!(expr) syntax, I'd prefer to hide the ugliness in a macro
> that does (expr != 0) 

Ah, old habbits - I can just write "ep->ep_flags & EXEC_TOPDOWN_VM" in all
cases here, we don't have macros for the other flags.
It causes a warning with some C++ compilers, so I'm used boolalize it.

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

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