From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F350A0032 for ; Sat, 2 Oct 2021 16:42:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC8CA41203; Sat, 2 Oct 2021 16:42:30 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id B42C3411E5 for ; Sat, 2 Oct 2021 16:42:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633185748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N5QAddLyFeyCwvbkKA4N1DyOUyuUUHgeXR/Z/dEqbzY=; b=Tbi4NVa22K+vlWkcx7MPN+nqpMlOu1qhId049geY9CdCK6jZUaLRRmn1gFHme0wnRsoNp2 rbxOAU/DQ52/rF12cT8tuask17jt21JtAfbbyR17+8dOT8Cg0vPt6YIcV291B7zk91mana VeNExPzy2QTHSYFzUe/TVto3jaG9Qfc= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-179-fFxQFxaRN6-A2pEVxuSogw-1; Sat, 02 Oct 2021 10:42:25 -0400 X-MC-Unique: fFxQFxaRN6-A2pEVxuSogw-1 Received: by mail-lf1-f71.google.com with SMTP id s8-20020ac25c48000000b003faf62e104eso10921038lfp.22 for ; Sat, 02 Oct 2021 07:42:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N5QAddLyFeyCwvbkKA4N1DyOUyuUUHgeXR/Z/dEqbzY=; b=rzq/zdaQCYKjKpBrpk7xtzSvx9JdWIGYUEaEzLgDt5fhQ7L7lf0w73kcX88bYfa+Jm r4NItW0lfAnfr9IQSsBWtw6kp6lDBFXLzy3OZ5Ai2SqekmcHej3wN3A9fyWEDRwnZR5X YtGHsHeDDksyBQPka3xvzsd0rBSs2mcK9P95BnCDVoCNy0E/ZKMoqe7K28kOr3OF14Xe B+IWojpWH1G6Cb5z8op1/5Yky7GaqbMNA5vP3yOnbXHcR9txgYwYeOLNx8iwoNaoXqqF IAMOwtyGaoKwOWpmmyQ4lj24G/Nn9SNPdjPpMjFDrS/RHyn0VgsdpkPY2NECjnL6wBPr Xb3w== X-Gm-Message-State: AOAM531UOZHP1jCPOo9gkkYK70K3NPFbwX8UJ36UvGcairL1CAfCveYG UmoCwAiO017y/WadmRE0/g0utfeTzALmHbJwnFRk6FWsTpn4/N06ybliRnQMgeC8GTY2frzgsD7 Q0XGICpv5I+NHkTrQJ2azR/A= X-Received: by 2002:a05:6512:d2:: with SMTP id c18mr1247085lfp.484.1633185743680; Sat, 02 Oct 2021 07:42:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqlBnUKrTSzd8bzoFfzkO+O0P733K1zMkzFkb+JE3Bj536Cxq43ZAqP4YFB4LJsBaq4X83W3fgas4tNGAwxFQ= X-Received: by 2002:a05:6512:d2:: with SMTP id c18mr1247072lfp.484.1633185743515; Sat, 02 Oct 2021 07:42:23 -0700 (PDT) MIME-Version: 1.0 References: <20210913110635.130387-1-bruce.richardson@intel.com> <48d75bc2-ae55-183c-8132-6e3e150647af@intel.com> In-Reply-To: <48d75bc2-ae55-183c-8132-6e3e150647af@intel.com> From: David Marchand Date: Sat, 2 Oct 2021 16:42:12 +0200 Message-ID: To: "Burakov, Anatoly" Cc: Bruce Richardson , dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] eal/freebsd: lock memory device to prevent conflicts X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, Sep 13, 2021 at 3:15 PM Burakov, Anatoly wrote: > On 13-Sep-21 12:06 PM, Bruce Richardson wrote: > > Only a single DPDK process on the system can be using the /dev/contigmem > > mappings at a time, but this was never explicitly enforced, e.g. when > > using --in-memory flag on two processes. To prevent possible conflict > > issues, we lock the dev node when it's in use, preventing other DPDK > > processes from starting up and causing problems for us. > > > > Fixes: 764bf26873b9 ("add FreeBSD support") > > Cc: stable@dpdk.org > > > > Signed-off-by: Bruce Richardson > Reviewed-by: Anatoly Burakov Applied, thanks. -- David Marchand