On Mon, 2017-02-27 at 18:52 +0300, Maxim Uvarov wrote: [nip] > maybe just define it as: > > #define ODP_CPUMASK_SIZE __CPU_SETSIZE > ? First of all, I don't think it's appropriate to set it to __CPU_SETSIZE but it should be (at most) the one exposed by one level up header (e.g. sched.h).
However, if we do what you propose... what is the purpose of having ODP_CPUMASK_SIZE in the first place then? I'd say we could remove that ODP define and ASSERT altogether at that point? > > > > > with small note on top. > > Maxim. > [nip]