From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 1623D199AC for ; Thu, 25 Jan 2018 17:01:03 +0100 (CET) Received: by mail-wr0-f195.google.com with SMTP id v31so2827457wrc.11 for ; Thu, 25 Jan 2018 08:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=DAccd+BmP3EZ3DtmqjiNcuCrniL5/MBwbkaYvf4+h0w=; b=Vgy9cuqvvcSJiCKgp9ZZVcvonGI6zDYdsMCu67JyrCimRaelRBPtpua+eIEheQHWbX Luad+FdAhXBrkugJmorAgPOaW8p1pa2hMuBoovEGTIa5jW2Dqn32KgBNWBxnR5ABqnjf nY9B4B3+II+nOJOW6v5zZCb0L0gtu+YEp9Nd97v1GYXKiarzEt0fP8u2b+TDgJhbKWN6 s3iBRxIPSVk4537Xq5vOUGFZE6KPcNLxNkxSbyfiLNfCZE24CvpCZsfO4wKAt0aI8QQe oUcjsB4H1lyC+m5EsebtwA5LztnMuwMPCZ88f9T3EVZ5AAngK+6zhA5UMC7XpWZ/HmCr uHXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=DAccd+BmP3EZ3DtmqjiNcuCrniL5/MBwbkaYvf4+h0w=; b=UhEm8ChN98rzSkzEjKE4G4G0OlskNEnVs13EyC+6NOzKcOnULScLvbUqGbQZGzixVC jawTaHOP96ktcWhp5WP+nwUcMyRT3hzhb9ha6xomn3LkDVFJKRoMpD5JJFhKgE8Ib8O7 Th/+HIG1UA3cTpiAy0HHKRB0qQjgows1AIBfWvVhi9jBCsh1cB/gCojqk1imP1UpNU9B XwXBKj31NqIQDP7tN1CRj7FIdcpou7L4DDL72yZMpaI6YpgggjG9SYE8ugEn62P7AebA yyNcNkOcnVCAZhgo7IrjRH+gxAZ68vyQxCl0mcCqkGyqvnn2tGzwvwhMOm4rdNb/BYiu 5SfA== X-Gm-Message-State: AKwxytdqTrQPrfm8qSzR0RHwzeyH35Z1crz3PR005a0lXdizsThE0PvB g6NH8WIJW5JQ9CqQO4/RUbUB X-Google-Smtp-Source: AH8x224GLVdPB92KaarWCv2eNexdsD9RTLsv+iMS7D7JwTWm6mB0udfwzJfup+4V9EqbSU3GfhrJMA== X-Received: by 10.223.192.129 with SMTP id d1mr9856514wrf.50.1516896062806; Thu, 25 Jan 2018 08:01:02 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 72sm1778596wmh.44.2018.01.25.08.01.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jan 2018 08:01:02 -0800 (PST) Date: Thu, 25 Jan 2018 17:01:05 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Xueming Li Cc: Shahaf Shuler , dev@dpdk.org Message-ID: <20180125160105.vm75fsol3y3z3cix@laranjeiro-vm.dev.6wind.com> References: <20180119150854.89828-1-xuemingl@mellanox.com> <1516892424-160194-1-git-send-email-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516892424-160194-1-git-send-email-xuemingl@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: mmap uar address around huge pages 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, 25 Jan 2018 16:01:03 -0000 On Thu, Jan 25, 2018 at 11:00:24PM +0800, Xueming Li wrote: > Reserving the memory space for the UAR near huge pages helps to > **reduce** the cases where the secondary process cannot start. Those > pages being physical pages they must be mapped at the same virtual > address as in the primary process to have a > working secondary process. > > As this remap is almost the latest being done by the processes > (libraries, heaps, stacks are already loaded), similar to huge pages, > there is **no guarantee** this mechanism will always work. > > Signed-off-by: Xueming Li As it does not break anything... Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND