[Devel] Re: [PATCH 10/30] cr: core stuff

Brian Haley brian.haley at hp.com
Fri Apr 10 09:19:23 PDT 2009


Alexey Dobriyan wrote:
> And of course, I don't want to see multiline
> 
> 	vmflags &= ~(VM_READ|VM_WRITE|
> 			[5 lines skipped]

Then why don't you:

#define VM_CR_FOO (VM_READ|VM_WRITE|...)

	vmflags &= ~VM_CR_FOO;

-Brian

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list