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 C3D88A00C2; Fri, 24 Apr 2020 19:10:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A37321C43C; Fri, 24 Apr 2020 19:10:32 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id B9FF91C2EE for ; Fri, 24 Apr 2020 19:10:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587748230; 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=B2BTgnkpt20WiMf1L6+kHM5xCNSNqaDHnM7nnozsJOC3xqq0IIayHZDsXsv2/e1MW46eZV Ni8SP6SqeHZ4mO0xNjQMzn9mcjfp2XxabGHDDE9z6+lHf62dOEhyHdQdRlFSNPDX5Oo2k1 Pe4Ltl+W5qKGoWe4CmDSlWl9S3hNSQ8= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-228-u4najOvqPNaygYRUIV6Yiw-1; Fri, 24 Apr 2020 13:10:18 -0400 X-MC-Unique: u4najOvqPNaygYRUIV6Yiw-1 Received: by mail-ua1-f69.google.com with SMTP id n36so5527338uan.1 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=R27TzD1MHRpT2dRY/ITDwUmmbqSJJTeaMkvdXYLTYbQvrVmoyYLvgu4L06CtVY6F1Y iz4V1YYg/SGKdjtGkX/gr4wS5SotOrSHvVLA8clfDe0/4kq7ABpOFQp1NjGRwOrjG05x NmoM72Sjxgpf7gXd1t8uN8Oft7se61feV+K9ByW0MG5WpSMfug+3d5/Vg5YthQLRnGnt a0eWZ1hWm2QvROszOS10gOVSJzwfyo+NOFOMK2xtiIVLOq9L8E/vYgfJYcV4pRr07Z8R bTFiVZw6EFaOc3WtS/TVqK1DC2jGImY53U43kxu3ZWQqjf/yUislcwQ4Pzb8z+UI5qZD 0Ctw== X-Gm-Message-State: AGi0PuaXUL2Wq4BkVwomlmDO17TGVwh3PlUYyoKSQRcgEawTwXqbTDwX rIPO/OETD4F/y9MwJ6i9WOIxr11oPSrknbTuk4t8TcLOzpivG3BfhjWONOQboMZQXemPw9nKPHp NDPXOBmDom+b4h5VZQhI= X-Received: by 2002:a9f:3273:: with SMTP id y48mr8331717uad.53.1587748218063; 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-dev] [PATCH] mem: mark pages as not accessed when returning back to memory pool 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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