WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] minios: simplified freelists in gnttab.c

To: xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] minios: simplified freelists in gnttab.c
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Thu, 04 Jan 2007 18:13:39 +0100
Delivery-date: Thu, 04 Jan 2007 09:13:38 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:sender; b=Ru6kLgRyCMJ8s6vDBq++HuuqOUeBZcPhd2IR4Uxkl4kjZtRC9ypJHDA6nBKz21dXxZ2/NgAsmziVBBTrrsGr+mofIJT1rV6Ge/PWk9hD19Sf64MMdFFcCtUrE8FHQN5FeZ1IJ20+e0cyBTZUtHBuVXEbYTatiMY9fFA0YE35UxU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

I found some strange freelist error conditions in gnttab.c under heavy
load, and replaced the get/put_free_entry() functions with code similar
to that of XenLinux' netfront.c.

Without this patch out-of-range ids will be returned under heavy load.

Jacob

Attachment: minios-gnttab-freelist.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] minios: simplified freelists in gnttab.c, Jacob Gorm Hansen <=