[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACCGGhApXXnQwfBN_LioAh+8bk-cAAQ2ciua-MnnQoMBUfap6g@mail.gmail.com>
Date: Mon, 20 Jan 2020 08:58:02 +0000
From: Paul Durrant <pdurrant@...il.com>
To: Sergey Dyasli <sergey.dyasli@...rix.com>
Cc: xen-devel@...ts.xen.org, kasan-dev@...glegroups.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
George Dunlap <george.dunlap@...rix.com>,
Ross Lagerwall <ross.lagerwall@...rix.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Wei Liu <wei.liu@...nel.org>
Subject: Re: [PATCH v2 4/4] xen/netback: fix grant copy across page boundary
On Fri, 17 Jan 2020 at 12:59, Sergey Dyasli <sergey.dyasli@...rix.com> wrote:
>
> From: Ross Lagerwall <ross.lagerwall@...rix.com>
>
> 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 <ross.lagerwall@...rix.com>
> Signed-off-by: Sergey Dyasli <sergey.dyasli@...rix.com>
> ---
> 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 <wei.liu@...nel.org>
> CC: Paul Durrant <paul@....org>
Acked-by: Paul Durrant <paul@....org>
Powered by blists - more mailing lists