From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by dpdk.org (Postfix) with ESMTP id 5A4DE2C6B for ; Tue, 8 Mar 2016 12:20:16 +0100 (CET) Received: by mail-oi0-f41.google.com with SMTP id d205so8087934oia.0 for ; Tue, 08 Mar 2016 03:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ccZj4UlvIR/MR9kbe3MCuv6ISMOYG6EA3Ky5Xu77MIA=; b=Jp67MOu77svcNXOjhB7LQTUFtnuAGscooQMHAHtd6IRfW9avJcxqUKAYyJcd7Q/66Y 55VKSOLqGDG0exdZiEL4czk+ltjShxkh4DdF9zkJ0+WLLtYy+SPJJQQu1QTp/ynaCPWn 6QHA1/0gXXZnGvDsKOmRvRq/hiCZM4/BFhWl9A+gvQxu/nltkuu2Ef4ab9QXrRcjOobR dkOgmiqxVc17oTv6ThZ95v51tRvPTyT7YC0V5TTPbSqgCkAKD5dOYd53mUR5+IPCa4Ok LjQ7Lub6VIJyDkA6B2xSe+u5opPJL1YEdHaHVz7pHzWPuHKZc2cw2zVbvAN/YI3+XqQ6 3YMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ccZj4UlvIR/MR9kbe3MCuv6ISMOYG6EA3Ky5Xu77MIA=; b=KRS+r4Kn4Csias7fq4i/4RSOdGiZlPxqkFJt9AaeeByofPKCwsqWBuoDDjmHM+YuJ0 gIYWkL3k7ml9oljR6jiJpAKnAhHAqemEvyaORTU9R98d8XYF0hlVWQ+Ov7xZLcXTF9sM E3UkrElI/N1r2O4b8KbtRBBn3GHAxgoi5+AQUEBxRMjhB2SiB3ZYPB1yd7X8WGp4AZZN ZeKCsr9uPRz7mXF9npIgWuQ6oxbDipD5Wt8LislH8iFhLi6MmQKx45h3KSgBu+1sCrj2 YgGmSprcGSQrfSaF3k4p5JNABI4kZMxPbq24kphlBAQ/L9PxFskIOxJPcbomcS47rejt OihA== X-Gm-Message-State: AD7BkJJyesZmBB2CqNNEAQhE0TDhsfemj2PahKGOb2fNyqpzs/gC3GSK8Po03qYUBsAXNkSElDFw9bHOI1dL0t3c X-Received: by 10.202.48.130 with SMTP id w124mr16805838oiw.61.1457436015747; Tue, 08 Mar 2016 03:20:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Tue, 8 Mar 2016 03:19:56 -0800 (PST) In-Reply-To: <2251445.Z6GIcehbaX@xps13> References: <1457350669-32582-1-git-send-email-harry.van.haaren@intel.com> <2251445.Z6GIcehbaX@xps13> From: David Marchand Date: Tue, 8 Mar 2016 12:19:56 +0100 Message-ID: To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 11:20:16 -0000 On Tue, Mar 8, 2016 at 12:13 PM, Thomas Monjalon wrote: > 2016-03-08 09:58, Van Haaren, Harry: >> From: David Marchand [mailto:david.marchand@6wind.com] >> > When I look at this new api, I am under the impression that you are >> > supposed to check for primary liveliness once dpdk init has finished >> > (from your secondary process point of view), not before and not while >> > it is initialising. >> >> The issue is that if a secondary process is initialized, it holds a read >> lock on /var/run/.rte_config and this prevents a primary from starting. > > The new function is advertised as a monitoring feature. > But it seems to be also a workaround for an ordering issue when starting > primary and secondary processes concurrently, right? +1 -- David Marchand