From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 00569374 for ; Thu, 29 Jun 2017 22:18:46 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8C8D120A62; Thu, 29 Jun 2017 16:18:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 29 Jun 2017 16:18:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=gJx8Br3eHexWWWc lnmrOrbJKj7K6BRh/H4+GPfQE2Os=; b=IlBhSNvr2Z+IhBzPrLS9PhufmRMF4lj FTtwYT8EO2dJobpZBSYCPJi2m+KZhObvVnnFI02j1uP8sQ3Y3pPvsZ4lvI1Clv2I ajwXpZA5xgw1rv1ctuE6RaQo/kCXFmAMcjuuyJfOvECcP8r1h4M5eKs6P59YLS6a VZ2R4vanbKl4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=gJx8Br3eHexWWWclnmrOrbJKj7K6BRh/H4+GPfQE2Os=; b=OC2/JL+y LdVIl9XuABDDzq4hINSoI6MlwkSKLMWrmkFxX0xKDogq44+sTj78pT3l8U2lzOo9 lC/KfBICYvvawrbVkmXM1DiOXVymZVQwqMe6I6UY3KX3hstwaF7v5ikAMRtNJl5f S44SRRiccyqgowNg3VT8fPo++389LAkjRV7JWHpy3eBjGQ9lss92c//TLnmiUiRA tE6BQTlCWCbS2UMSG+H8xoJZhk90Fugk+PTrq02ubqJavm7bqmoOcsYWMqcIE4ep W3jjbv7BAL3cpaX+hp5SaRbyvL1wyc1iOSG6RAbbqr8D4OV9uUqQ6Vj5JP4ITc6+ fw09/aZ0ca5zUg== X-ME-Sender: X-Sasl-enc: ZH6Fv3vm1fzjaVXHfbiM0v0B/fLislGXe1XRJ43ECasK 1498767526 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 20DB42479F; Thu, 29 Jun 2017 16:18:46 -0400 (EDT) From: Thomas Monjalon To: "Van Haaren, Harry" Cc: dev@dpdk.org, 'Jerin Jacob' , "Wiles, Keith" , "Richardson, Bruce" Date: Thu, 29 Jun 2017 22:18:44 +0200 Message-ID: <25008072.aWAPEDBPgL@xps> In-Reply-To: References: <7268949.8nYIVvgy1g@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] Service lcores and Application lcores 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: Thu, 29 Jun 2017 20:18:47 -0000 29/06/2017 18:35, Van Haaren, Harry: > 3) The problem; > If a service core runs the SW PMD schedule() function (option 2) *AND* > the application lcore runs schedule() func (option 1), the result is that > two threads are concurrently running a multi-thread unsafe function. Which function is multi-thread unsafe? Why the same function would be run by the service and by the scheduler?