lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <538F3152.80501@cogentembedded.com>
Date:	Wed, 04 Jun 2014 18:46:42 +0400
From:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:	Wei Liu <wei.liu2@...rix.com>, xen-devel@...ts.xen.org,
	netdev@...r.kernel.org
CC:	ian.campbell@...rix.com, david.vrabel@...rix.com,
	zoltan.kiss@...rix.com, paul.durrant@...rix.com,
	a.j.bennieston@...il.com,
	"Andrew J. Bennieston" <andrew.bennieston@...rix.com>
Subject: Re: [PATCH net-next v10 1/7] xen-netback: Move grant_copy_op array
 back into struct xenvif.

Hello.

On 06/04/2014 01:30 PM, Wei Liu wrote:

> From: "Andrew J. Bennieston" <andrew.bennieston@...rix.com>

> This array was allocated separately in commit ac3d5ac2 ("xen-netback:
> fix guest-receive-side array sizes") due to it being very large, and a
> struct xenvif is allocated as the netdev_priv part of a struct
> net_device, i.e. via kmalloc() but falling back to vmalloc() if the
> initial alloc. fails.

> In preparation for the multi-queue patches, where this array becomes
> part of struct xenvif_queue and is always allocated through vzalloc(),
> move this back into the struct xenvif.

    Won't this cause an allocation failure and so break bisection at this patch?

> Signed-off-by: Andrew J. Bennieston <andrew.bennieston@...rix.com>
> Acked-by: Wei Liu <wei.liu2@...rix.com>

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ