From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12E1EC2D0DB for ; Wed, 22 Jan 2020 14:05:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B65E42465A for ; Wed, 22 Jan 2020 14:05:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B65E42465A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 27E046B0003; Wed, 22 Jan 2020 09:05:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2300D6B0005; Wed, 22 Jan 2020 09:05:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 145556B0007; Wed, 22 Jan 2020 09:05:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0061.hostedemail.com [216.40.44.61]) by kanga.kvack.org (Postfix) with ESMTP id F32BA6B0003 for ; Wed, 22 Jan 2020 09:05:17 -0500 (EST) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 95C571F0A for ; Wed, 22 Jan 2020 14:05:17 +0000 (UTC) X-FDA: 76405442274.03.smoke46_8577939d2a300 X-HE-Tag: smoke46_8577939d2a300 X-Filterd-Recvd-Size: 4225 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Wed, 22 Jan 2020 14:05:17 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id c9so7383094wrw.8 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=PHTpX7knlp6N7/7w+z3Cu7JZPZdQOloEqpcois9BTGXXVBAxzW4r43ui4qVD8Xidak VVfN39yBERvVrc0Jl/LzMwBQ0qdVPMLD+p+86K5pFsmRgkOGIzJF2lJLvMOOL5/S6IAB 1J0irBsUOcvR4TaX0V/lBND5Xo6EE+IGgsYmm3Wbjd8OVrEsx2eBYIdu9mKwj/oz5KAQ 0tj6ncNMBBdTs0+NzoPWpSgDcoIk7/mbl26yvyZ3NSa99ceMBte1IMvh2aha1lYHA6N1 v9/a7hw8jxEeCFk7n91GDmubPesbimJYbxspYyMFt8QN5KzNwYIpXmgzAjSMiipdohjD /CrA== X-Gm-Message-State: APjAAAWdfQyqSUaYEZmc7Q0Twe1pMzpXw4hS9th3E/sQmE5quUfyEhaE nwwM+Ze9gp/F4aqm1GM33rs= X-Google-Smtp-Source: APXvYqxlAP+/wQo+U5G/hC5nhSUhqcfVX0b3qdlQz+EBZiRxKCsql6s8v1dOdo8DVwgg6iphafdn3g== 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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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