On Tue, Feb 19, 2019 at 12:40 PM Burakov, Anatoly <anatoly.bura...@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.bura...@intel.com <mailto:anatoly.bura...@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