|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [TRIVIAL PATCH V2 next 12/15] video: Convert vmalloc/mem
To: |
Joe Perches <joe@xxxxxxxxxxx> |
Subject: |
[Xen-devel] Re: [TRIVIAL PATCH V2 next 12/15] video: Convert vmalloc/memset to vzalloc |
From: |
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> |
Date: |
Tue, 31 May 2011 10:28:33 -0400 |
Cc: |
linux-fbdev@xxxxxxxxxxxxxxx, Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, Jiri Kosina <trivial@xxxxxxxxxx>, Heiko Stübner <heiko@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, Paul Mundt <lethal@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Jaya Kumar <jayalk@xxxxxxxxxxxx> |
Delivery-date: |
Tue, 31 May 2011 07:34:14 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1306606413.20336.9.camel@Joe-Laptop> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<cover.1306603968.git.joe@xxxxxxxxxxx> <77538de911b8af99f68b7bcfbaaedce8e40db04f.1306603968.git.joe@xxxxxxxxxxx> <201105281948.12941.heiko@xxxxxxxxx> <1306606413.20336.9.camel@Joe-Laptop> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, May 28, 2011 at 11:13:33AM -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> on the:
> diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
> index a20218c..beac52f 100644
> --- a/drivers/video/xen-fbfront.c
> +++ b/drivers/video/xen-fbfront.c
> @@ -395,10 +395,9 @@ static int __devinit xenfb_probe(struct xenbus_device
> *dev,
> spin_lock_init(&info->dirty_lock);
> spin_lock_init(&info->resize_lock);
>
> - info->fb = vmalloc(fb_size);
> + info->fb = vzalloc(fb_size);
> if (info->fb == NULL)
> goto error_nomem;
> - memset(info->fb, 0, fb_size);
>
> info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|