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

Thomas Monjalon thomas at monjalon.net
Thu Mar 7 16:36:05 CET 2019


20/02/2019 17:02, Burakov, Anatoly:
> On 19-Feb-19 8:38 PM, David Marchand wrote:
> > pthread_getaffinity_np returns a >0 value when failing.
> > 
> > This is mainly for the sake of correctness.
> > The only case where it could fail is when passing an incorrect cpuset
> > size wrt to the kernel.
> > 
> > Fixes: 2eba8d21f3c9 ("eal: restrict cores auto detection")
> > Cc: stable at dpdk.org
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> 
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks




More information about the stable mailing list