In message <email@example.com> you write:
> Another idea is to make a gfp_flags_t, that worked very well
> for things like mm_segment_t.
But you can't or them together without some icky macro, unless they're
typedef to an integer type in which case gcc doesn't warn you if you
just stuck a "sizeof(x)" in there.
Maybe if you make it unsigned char or something.
If there aren't too many spots which need to "or" stuff,
all the "icky macro" stuff could be contained to gfp.h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/