From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by dpdk.org (Postfix) with ESMTP id CB3121B108 for ; Tue, 19 Feb 2019 12:55:40 +0100 (CET) Received: by mail-vs1-f66.google.com with SMTP id u13so10562668vsk.0 for ; Tue, 19 Feb 2019 03:55:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nY6jqPoA+nBtCyL4TcFQGvvuYIuUStNGy0V44jVrq54=; b=LSB/VwuJwHdOkcb1k8v6oi9G8GAme6yDK24LaCC87gWYa4PgYHT9joaGfDB+GPhaJ4 9RC8VO7lnvw0pHBOrI+uwA7th2kB0ZYTaYULffTeGq/EGxzcjKQT9Hpia18KOjrWD2Wc zfQm06B5SQuKN8C9FkWkRzOu6jeLXgSTBeR8aNy0v1pmyxgdOo2yhmU4iz9yI+PYsWIv sp6ZwyFYTW1fDjCiF4yBxaTLy7a4J5XS23tOhqEWETy9US5SEESCAKHO4xAUfCcSVqO4 imBgqJAcwlJUqPuwKYjLkQrit6Su2Sj5Dr6LsvnT+H0Vq44WYht5pxGJovmAIZmIj2Zy En+w== X-Gm-Message-State: AHQUAuYecCi0iUKyfsKnTq2xzidq3jqgGyw4F1ikhVepKKrEoe8qpn8M wHTSbkbAwsuzI2NIPT5DhKl/Sx0aEu4H86oo+b9kBQ== X-Google-Smtp-Source: AHgI3IbG+1CzqP1+XPMF3IErZU/Ki/qdGfJ0Iw5fXXJP8Rc4kX3eE7xRWIgELhAeAw1tuvCv2z1QwtleVTjYiNVtcIs= X-Received: by 2002:a67:2045:: with SMTP id g66mr14205297vsg.180.1550577340202; Tue, 19 Feb 2019 03:55:40 -0800 (PST) MIME-Version: 1.0 References: <1550150874-9535-1-git-send-email-david.marchand@redhat.com> <1fed1442-efc2-0156-7db1-8b2c01292659@intel.com> <29172348-cc0c-1b36-cefc-6b3ef92137f1@intel.com> In-Reply-To: <29172348-cc0c-1b36-cefc-6b3ef92137f1@intel.com> From: David Marchand Date: Tue, 19 Feb 2019 12:55:29 +0100 Message-ID: To: "Burakov, Anatoly" Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] eal: fix check when retrieving current cpu affinity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 11:55:41 -0000 On Tue, Feb 19, 2019 at 12:40 PM Burakov, Anatoly wrote: > On 14-Feb-19 5:41 PM, David Marchand wrote: > > On Thu, Feb 14, 2019 at 5:44 PM Burakov, Anatoly > > > 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