From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: 32-on-64: pvfb issue Date: Fri, 19 Jan 2007 10:54:56 +0100 Message-ID: <45B09570.7000109@suse.de> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030105020505090406050202" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen devel list , Markus Armbruster List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030105020505090406050202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Keir Fraser wrote: > Make tools > write a default value for pv guests for backward compat. Here is a one-line fix to make the pvfb frontend clear the shared page. Can this go into both 3.0.4 and unstable please? thanks, Gerd -- Gerd Hoffmann --------------030105020505090406050202 Content-Type: text/x-patch; name="fbif-bimodal.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fbif-bimodal.diff" --- linux-2.6-xen-sparse/drivers/xen/fbfront/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: build-32-unstable-13495/linux-2.6-xen-sparse/drivers/xen/fbfront/xenfb.c =================================================================== --- build-32-unstable-13495.orig/linux-2.6-xen-sparse/drivers/xen/fbfront/xenfb.c +++ build-32-unstable-13495/linux-2.6-xen-sparse/drivers/xen/fbfront/xenfb.c @@ -479,7 +479,7 @@ static int __devinit xenfb_probe(struct goto error_nomem; /* set up shared page */ - info->page = (void *)__get_free_page(GFP_KERNEL); + info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); if (!info->page) goto error_nomem; --------------030105020505090406050202 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------030105020505090406050202--