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 C0C2942999 for ; Thu, 20 Apr 2023 19:11:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F9E540697; Thu, 20 Apr 2023 19:11:55 +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 412DC40687 for ; Thu, 20 Apr 2023 19:11:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682010713; 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=zuKJffGptAC4UqngbLAqU7rST4IlmQuc5SOuzCw6t9o=; b=OjnyGx4KI5jb3JNI1PzJnOZSDMm8+vM4PmrMVTY42+M6P+wMxeXx/Whg4FF7MxvU+3nVfI /mlZPjS/1/5R6XHVPhUcg0RG4k6ZTA9cmcKkVtgnK+nHvNvLPxthrVsFhQ1yNOWY/VcAli XY5y3t8sc3H9r3Ev3p1ZM5RpApjpPD8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-502-Q3lwuiOkNuCfParB5Mu7uQ-1; Thu, 20 Apr 2023 13:11:52 -0400 X-MC-Unique: Q3lwuiOkNuCfParB5Mu7uQ-1 Received: by mail-ed1-f69.google.com with SMTP id j28-20020a508a9c000000b00504ee48e421so1865906edj.22 for ; Thu, 20 Apr 2023 10:11:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682010711; x=1684602711; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zuKJffGptAC4UqngbLAqU7rST4IlmQuc5SOuzCw6t9o=; b=jX9qyV3auT7tamK0g3owG478/esD6srxYS4cS9lf64MSzrFC7dLd4C+j8FgFmvkWqW C2Vahfu1jb6n7ohOqxLA3CmWH/I2H3s29QsFm+nQDYXVHXgQ82IsW13aKRPW3xH5MbSe 5G4OurrtLEz+dBtWDLLdNFya0ITeTYEoJxhRODOrmIo1lqA8+G88+A+zfldQ095wR9UG LGMxgEXJp9lToVQWnQr3+qfdO7VB3ydfJp0dRmzvaslrNGKZ66RhCnpd57grp8A+/Bj4 wn2ioqn/k1PL0uBSSN5W87yXiY2rIOWbcELaPGTAdaq/Z1sV+G1Wu3I7i3KAdOqolP03 7IUw== X-Gm-Message-State: AAQBX9drn7pG/2j9TANR0CRiVXrex2+Uqf22x2XlaiIZtKXk30UoLWLR 8cRvWAZK6WINQ9ZqUpxmneJy2bqOj7sxquCcjqA6V44BZJhfbDmKiAV9JFGtAg23y6tJTxXR3Xi GJ/DfG/dwA9/9jSphMvoxNAM= X-Received: by 2002:a17:906:64cd:b0:94e:c142:dfb1 with SMTP id p13-20020a17090664cd00b0094ec142dfb1mr2273196ejn.61.1682010711359; Thu, 20 Apr 2023 10:11:51 -0700 (PDT) X-Google-Smtp-Source: AKy350Yf2Xwknc7vMloRh/XQ5MTttIWsHh9Ruvhn/59QowZdedtfMMgYUOsPBK26emgvfxV5X+xfmM8QIHfT1FiqT5s= X-Received: by 2002:a17:906:64cd:b0:94e:c142:dfb1 with SMTP id p13-20020a17090664cd00b0094ec142dfb1mr2273170ejn.61.1682010711040; Thu, 20 Apr 2023 10:11:51 -0700 (PDT) MIME-Version: 1.0 References: <20230331154259.1447831-1-maxime.coquelin@redhat.com> <20230331154259.1447831-7-maxime.coquelin@redhat.com> In-Reply-To: <20230331154259.1447831-7-maxime.coquelin@redhat.com> From: Mike Pattrick Date: Thu, 20 Apr 2023 13:11:39 -0400 Message-ID: Subject: Re: [RFC 06/27] vhost: don't dump unneeded pages with IOTLB To: Maxime Coquelin Cc: dev@dpdk.org, david.marchand@redhat.com, chenbo.xia@intel.com, fbl@redhat.com, jasowang@redhat.com, cunming.liang@intel.com, xieyongji@bytedance.com, echaudro@redhat.com, eperezma@redhat.com, amorenoz@redhat.com, stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Mar 31, 2023 at 11:43=E2=80=AFAM Maxime Coquelin wrote: > > On IOTLB entry removal, previous fixes took care of not > marking pages shared with other IOTLB entries as DONTDUMP. > > However, if an IOTLB entry is spanned on multiple pages, > the other pages were kept as DODUMP while they might not > have been shared with other entries, increasing needlessly > the coredump size. > > This patch addresses this issue by excluding only the > shared pages from madvise's DONTDUMP. > > Fixes: dea092d0addb ("vhost: fix madvise arguments alignment") > Cc: stable@dpdk.org > > Signed-off-by: Maxime Coquelin Looks good to me. Acked-by: Mike Pattrick