[dpdk-dev] [PATCH] eal: fix check when retrieving current cpu affinity

David Marchand david.marchand at redhat.com
Tue Feb 19 12:55:29 CET 2019


On Tue, Feb 19, 2019 at 12:40 PM Burakov, Anatoly <anatoly.burakov at intel.com>
wrote:

> On 14-Feb-19 5:41 PM, David Marchand wrote:
> > On Thu, Feb 14, 2019 at 5:44 PM Burakov, Anatoly
> > <anatoly.burakov at intel.com <mailto:anatoly.burakov at intel.com>> wrote:
> >     CC: stable?
> >
> > Not really sure about CCing stable for this.
> >
> > I did not get errors with pthread_getaffinity_np so far.
> > Afaiu, it would need the kernel and libc to have different cpuset sizes.
> > I did not investigate in which situations it could happen.
> >
>
> You're incorrectly handling error condition - that's a bug regardless of
> how likely it is to occur :)
>

Ok will resend with Cc:


-- 
David Marchand


More information about the dev mailing list