Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4863676ybl; Wed, 22 Jan 2020 06:07:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyvCKZG2Uugy5YSNPhQEdtnAv2AfvnMP1Y2NbNukiPAhUsx1VLEdXFW77dUHnmeHmgBZtZt X-Received: by 2002:aca:d78b:: with SMTP id o133mr7057529oig.163.1579702021900; Wed, 22 Jan 2020 06:07:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579702021; cv=none; d=google.com; s=arc-20160816; b=OWZdLqHFhXvq3W0XaJ8SnKPf1eATElgIFBXE9GG7i8WjDdfjar0uGhE2aDpc2oZ649 pnK5Mz9/fAD2kEjI0xIkEUUQXxEQBEMRmqihLVWvo3YH0633hGu9oCUb6FKJX89eBUwZ atwIeG7UA7j6fXCPxgcwEgRUx+ef3uSmbXFtSvzRhZ1QDXYiOCTDU+gXjM34lKNflOGl ubi8Ec+JZIKDtkioNfLCjmH/EbAYk79hQ35rkZH5Zf1xoyzdV54HKK1jAidiVfp4weja Vq8XNg3F70zmB7atrd+PkpfFdXONcpDmRPn4Rx3sIddDq8Gc5el5cOaHT8wHiZFMfr64 4c/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nTDawKBuPPz3RFrkaA7TRY9Jia2zninb0DeM+/pbQ8U=; b=W0f1Gs+s2dUvRUlzTDlwBsed0kxcEaI6sVFXBRP4+HsCWNETW+dajffD7M7dVVa8ri WD8vtC2+7rnC36aMYswndqgsoF4LCNZvcVU5MgkKyUubqrYuJvm9mZ3C2B/osBYDSnI5 KjZt6h/fif2CfZpJpaopO1paydZBCrlTCeeFG9Umi0UaF/O6I2QdKa8YBDidsuIZJ/Rz 3XUCiMXsh5wibXbztLac4xYmqww7ud5HeJa/4xnyTZyuMQKzKHM+b18KUcK6hOK4CbLf xjy5PeLaAcoCkPsYI7dnS8gnqmD8Fz7M0OfwrNlBX+03bGz2bVkUwDQnZiPq4Yu9kG5t yr7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y65si22170072oia.162.2020.01.22.06.06.48; Wed, 22 Jan 2020 06:07:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725924AbgAVOFS (ORCPT + 99 others); Wed, 22 Jan 2020 09:05:18 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34993 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgAVOFR (ORCPT ); Wed, 22 Jan 2020 09:05:17 -0500 Received: by mail-wr1-f66.google.com with SMTP id g17so7423166wro.2 for ; Wed, 22 Jan 2020 06:05:16 -0800 (PST) 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:in-reply-to:user-agent; bh=nTDawKBuPPz3RFrkaA7TRY9Jia2zninb0DeM+/pbQ8U=; b=tTNJEUiVNp5/UYXZRpKKGk5pmUcetJfgebRlMhACXOcx/da29zUBSO3zp0UCohbIQp +sCPpGjGpVXU1xNyPpiUP6vvMlDPJKXs+7JCNYBuEDM1EL8gDR2wLye2KYFuCxB+lDKZ MxzSTiVdHMY19bo9Yoqlarrg9zNwuyXwIG6jHDpsDZZJm1Wg6+iEcirB75WtzwMGzcaw mgKktaJygxjshVnaJMUQYVQlBSk0grcWZeAJ2hmUVSrjb1ZLYED9eklLDiTpIXOiNgxW 0/MJZhqJviHbJeIxgcQ3VDK18pfZ9yl1bcbcM8QPTbkW5PfO85PgDyaK+PhdSewMS0ir Iqyg== X-Gm-Message-State: APjAAAUl9b0RAXZ5poBM9dyhLib/TGFLnEt8T5cqaKl4iJgSpDUc0e+O +KS4g8Rj3qqk8CprmhV6+is= X-Received: by 2002:a05:6000:1241:: with SMTP id j1mr11170497wrx.26.1579701916005; Wed, 22 Jan 2020 06:05:16 -0800 (PST) Received: from debian (41.142.6.51.dyn.plus.net. [51.6.142.41]) by smtp.gmail.com with ESMTPSA id b137sm4417661wme.26.2020.01.22.06.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 06:05:15 -0800 (PST) Date: Wed, 22 Jan 2020 14:05:12 +0000 From: Wei Liu To: Sergey Dyasli Cc: Paul Durrant , xen-devel@lists.xen.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , George Dunlap , Ross Lagerwall , Andrew Morton , Wei Liu Subject: Re: [PATCH v2 4/4] xen/netback: fix grant copy across page boundary Message-ID: <20200122140512.zxtld5sanohpmgt2@debian> References: <20200117125834.14552-1-sergey.dyasli@citrix.com> <20200117125834.14552-5-sergey.dyasli@citrix.com> <85b36733-7f54-fdfd-045d-b8e8a92d84c5@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85b36733-7f54-fdfd-045d-b8e8a92d84c5@citrix.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 22, 2020 at 10:07:35AM +0000, Sergey Dyasli wrote: > On 20/01/2020 08:58, Paul Durrant wrote: > > On Fri, 17 Jan 2020 at 12:59, Sergey Dyasli wrote: > >> > >> From: Ross Lagerwall > >> > >> When KASAN (or SLUB_DEBUG) is turned on, there is a higher chance that > >> non-power-of-two allocations are not aligned to the next power of 2 of > >> the size. Therefore, handle grant copies that cross page boundaries. > >> > >> Signed-off-by: Ross Lagerwall > >> Signed-off-by: Sergey Dyasli > >> --- > >> v1 --> v2: > >> - Use sizeof_field(struct sk_buff, cb)) instead of magic number 48 > >> - Slightly update commit message > >> > >> RFC --> v1: > >> - Added BUILD_BUG_ON to the netback patch > >> - xenvif_idx_release() now located outside the loop > >> > >> CC: Wei Liu > >> CC: Paul Durrant > > > > Acked-by: Paul Durrant > > Thanks! I believe this patch can go in independently from the other > patches in the series. What else is required for this? This patch didn't Cc the network development list so David Miller wouldn't be able to pick it up. Wei. > > -- > Sergey