From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v2 0/4] fix control thread affinities Date: Tue, 10 Apr 2018 17:20:17 +0100 Message-ID: References: <20180403130439.11151-1-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Olivier Matz , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 171991B7DE for ; Tue, 10 Apr 2018 18:20:20 +0200 (CEST) In-Reply-To: <20180403130439.11151-1-olivier.matz@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 03-Apr-18 2:04 PM, Olivier Matz wrote: > Some parts of dpdk use their own management threads. Most of the time, > the affinity of the thread is not properly set: it should not be scheduled > on the dataplane cores, because interrupting them can cause packet losses. > > This patchset introduces a new wrapper for thread creation that does > the job automatically, avoiding code duplication. > > v2: > * set affinity to master core if no core is off, as suggested by > Anatoly This will need a rebase, as there were new pthreads added since this was submitted. There are now two new threads in eal_common_proc.c, that i know of. -- Thanks, Anatoly