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 61548A0032; Sat, 2 Oct 2021 16:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47159411C9; Sat, 2 Oct 2021 16:42:28 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C1094411C9 for ; Sat, 2 Oct 2021 16:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633185746; 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=QiWxyS1rYqlsWt5Zdyi5zbVXPALODzfLF9xLt4pVUqFWRe02GbnnjRhsc0Zi0NT/EOx9jJ BOBn5ZgpgJjZjaFOl9rQ+0C0XEjkBBHEdn7LDu6jcF7C6Pmxjcv+uHPtILzeTrkCepuv+F 4ohEuVSprd0B1iSdo6PV8Gm+hRmkKRU= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-234-bT4CCnMmMqC6-oT2-wKXNA-1; Sat, 02 Oct 2021 10:42:25 -0400 X-MC-Unique: bT4CCnMmMqC6-oT2-wKXNA-1 Received: by mail-lf1-f70.google.com with SMTP id s28-20020a056512203c00b003f42015e912so10984515lfs.4 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=i8NM2oEfR9WJwlPham3g83j7zbDlnwoxZRQRusWOJpGgY/If2EaJx6pUyvzGi1EYpo LVrbD14h+UKTFcuhwf/avMabHrqfnU1K0ZwyQA3tYU1IM1e+oczmtVFRSTEdKxeUWhi6 MYxF7mfAf6gbhsv4A5HWAwFgtIPgiLc659W48RbrYy0WdJAcPlp65oGFRYpDxrfdVv8E eFy8kIcaQCnSTKjRfE9uE6sKw14zGb7kpqu5yn5jziKF+5sX4tgAWFB76vSjpxhtECaN KPHoFQCwp4jtGAHXTDFHDyvwd4oufpKDh+4Lk2DPaJ71QYqWQt1/bGccUD/X7BlkDx2O t/Iw== X-Gm-Message-State: AOAM531U0LNhMHcPWyyhqz1AG2NqDPmwq2is9FAVRG9FgUPrq5fKBi17 6YuBnHnKLEMMhOBSiYnAIo6eiihvugJ5yYxOOJLzpEINmv0aLhsicRpyxC8Gh30joYk8zhQK+m3 BML0hHvF2p1Pej8PHoTM= X-Received: by 2002:a05:6512:d2:: with SMTP id c18mr1247084lfp.484.1633185743679; 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-dev] [PATCH] eal/freebsd: lock memory device to prevent conflicts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list 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 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