From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 892B6A00C2 for ; Fri, 24 Apr 2020 19:10:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FE4B1C2EE; Fri, 24 Apr 2020 19:10:22 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id EFC901C2EE for ; Fri, 24 Apr 2020 19:10:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587748220; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H/Ww7bEyBSREB13UqJknVgBkAaGdKupdUIEvRBwYUBE=; b=N9sNlTlRW7Cc4Cc5+8CWHOS8nCbB/NFPWLJpuv1qUU63re2GV8QtPy1e0vHxYTKUNsfheg PQRIdEnqGv/RXA/ViT48/EToDiaCxwYZGyJXinoGufOvtokU7bVQHLysHBbfaWbfBjb0sC IgMQmxw8h0FWMHTkQmRWM2PlvAatfLM= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-435-8OQFd-CXO_6MxKBmCA5pZg-1; Fri, 24 Apr 2020 13:10:18 -0400 X-MC-Unique: 8OQFd-CXO_6MxKBmCA5pZg-1 Received: by mail-ua1-f70.google.com with SMTP id v3so808698uat.21 for ; Fri, 24 Apr 2020 10:10:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=H/Ww7bEyBSREB13UqJknVgBkAaGdKupdUIEvRBwYUBE=; b=WQ6UKHRz6kLLJr1Wl8ZYdlEn86lJX34a9U66xdzLJ351as/1tQrlGXeCVnkAtXJLB0 hjg9Fm6nkDUn149dn0MwTAWcRBMBBKk54KnZLPxellnyC3NPqGUPV8h0gRK0Y2DNCqh9 2d0aB21hxOSzdNTpz+jv6WKJrnqa7usNdwMoLjB09FEI8P26d4ymMaNPUK9E5HkKeRMP A71azevzry/jFeRz8vLd1VcdNKaEdb1yDuNcGIr1PCJvttDrbq/3ueF0dFvsUplaHs2U RA/KcWhuWSg8Z+MW2ImaxPlE/PjbTyX9fF1qnQzPZdPeG3G8juIA2iMYzC/JwfJc/wfe aKNw== X-Gm-Message-State: AGi0PuZkaLlUe50L5zcBfEPLedMVpqxrCvEq08V22wmSoqHPV6/Tkml/ DSWTEHsZvuI+nVS62NoDv5NtYPP64h/H1nQN58owmDi2SN5j4qZnGOG/CjILu2u50CrWTeRK/jf 0DQpkiBGbW+wJ2q82cFQ88Ds= X-Received: by 2002:a9f:3273:: with SMTP id y48mr8331718uad.53.1587748218065; Fri, 24 Apr 2020 10:10:18 -0700 (PDT) X-Google-Smtp-Source: APiQypIW0u1H+HXKRG0TESmZzVNDlN4oY/t8Lhhhs1jOaZwoS9zh5unFTAfDdeg1kNBUpSTY81G2dkZGCDCRQcZdMuQ= X-Received: by 2002:a9f:3273:: with SMTP id y48mr8331694uad.53.1587748217748; Fri, 24 Apr 2020 10:10:17 -0700 (PDT) MIME-Version: 1.0 References: <20200424104205.26846-1-fengli@smartx.com> In-Reply-To: <20200424104205.26846-1-fengli@smartx.com> From: David Marchand Date: Fri, 24 Apr 2020 19:10:06 +0200 Message-ID: To: Li Feng Cc: Anatoly Burakov , dev , dpdk stable , Kyle Zhang , Feng Li , fanyang@smartx.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH] mem: mark pages as not accessed when returning back to memory pool X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Fri, Apr 24, 2020 at 12:43 PM Li Feng wrote: > > Commit 8a4baf06c17a ("mem: mark pages as not accessed when reserving VA") > has mapped the initialized memory with PROT_NONE, and when it's unmapped, > eal_memalloc.c should remmap the anonymous memory with PROT_NONE too. > > Signed-off-by: Li Feng Fixes: 8a4baf06c17a ("mem: mark pages as not accessed when reserving VA") Cc: stable@dpdk.org Acked-by: Anatoly Burakov Applied, thanks. Please for future contributions, could you get this footer removed? > The SmartX email address is only for business purpose. Any sent message > that is not related to the business is not authorized or permitted by > SmartX. > =E6=9C=AC=E9=82=AE=E7=AE=B1=E4=B8=BA=E5=8C=97=E4=BA=AC=E5=BF=97=E5=87=8C= =E6=B5=B7=E7=BA=B3=E7=A7=91=E6=8A=80=E6=9C=89=E9=99=90=E5=85=AC=E5=8F=B8=EF= =BC=88SmartX=EF=BC=89=E5=B7=A5=E4=BD=9C=E9=82=AE=E7=AE=B1. =E5=A6=82=E6=9C= =AC=E9=82=AE=E7=AE=B1=E5=8F=91=E5=87=BA=E7=9A=84=E9=82=AE=E4=BB=B6=E4=B8=8E= =E5=B7=A5=E4=BD=9C=E6=97=A0=E5=85=B3,=E8=AF=A5=E9=82=AE=E4=BB=B6=E6=9C=AA= =E5=BE=97=E5=88=B0=E6=9C=AC=E5=85=AC=E5=8F=B8=E4=BB=BB=E4=BD=95=E7=9A=84=E6= =98=8E=E7=A4=BA=E6=88=96=E9=BB=98=E7=A4=BA=E7=9A=84=E6=8E=88=E6=9D=83. --=20 David Marchand