All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Kinzler <ml-xen-devel@hfp.de>
To: James Harper <james.harper@bendigoit.com.au>
Cc: xen-devel@lists.xensource.com
Subject: Re: RE: Stability report GPLPV 0.11.0.308
Date: Fri, 23 Sep 2011 22:57:12 +0200	[thread overview]
Message-ID: <4E7CF2A8.5040405@hfp.de> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01E5E072@trantor>

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

Hello James,

I did take a look at your commit 950 and I think there are 3 typos (see 
my patch). Anyway, I don't think that memory problems are causing the 
stability issues and (as some kind of "proof") I did not notice any 
increase in kernel memory usage during uptime of the VMs.

Actually I am not really sure if xennet is even the problem since in 
none of the crash scenarios there was something in the Windows event 
log. In my last test I was able to enter my password via VNC (it did not 
login though) - this should have written some entries to the security 
log which it did not. So I assume that xenvbd was dead too (killed by 
xennet) or is actually the real reason for the stability problems.

Regards Andreas

[-- Attachment #2: diff.patch --]
[-- Type: text/plain, Size: 1244 bytes --]

--- x\xennet6_rx.c	2011-09-22 13:47:46.000000000 +0200
+++ xennet6_rx.c	2011-09-23 22:39:47.892796400 +0200
@@ -50,8 +50,8 @@
   pb->mdl = IoAllocateMdl(pb->virtual, PAGE_SIZE, FALSE, FALSE, NULL);
   if (!pb->mdl)
   {
-    NdisFreeMemory(pb->virtual, sizeof(shared_buffer_t), 0);
-    NdisFreeMemory(pb, PAGE_SIZE, 0);
+    NdisFreeMemory(pb->virtual, PAGE_SIZE, 0);
+    NdisFreeMemory(pb, sizeof(shared_buffer_t), 0);
     return NULL;
   }
   pb->gref = (grant_ref_t)xi->vectors.GntTbl_GrantAccess(xi->vectors.context, 0,
@@ -59,8 +59,8 @@
   if (pb->gref == INVALID_GRANT_REF)
   {
     IoFreeMdl(pb->mdl);
-    NdisFreeMemory(pb->virtual, sizeof(shared_buffer_t), 0);
-    NdisFreeMemory(pb, PAGE_SIZE, 0);
+    NdisFreeMemory(pb->virtual, PAGE_SIZE, 0);
+    NdisFreeMemory(pb, sizeof(shared_buffer_t), 0);
     return NULL;
   }
   MmBuildMdlForNonPagedPool(pb->mdl);
@@ -85,8 +85,8 @@
     if (xi->rx_pb_free > RX_MAX_PB_FREELIST)
     {
       IoFreeMdl(pb->mdl);
-      NdisFreeMemory(pb->virtual, sizeof(shared_buffer_t), 0);
-      NdisFreeMemory(pb, PAGE_SIZE, 0);
+      NdisFreeMemory(pb->virtual, PAGE_SIZE, 0);
+      NdisFreeMemory(pb, sizeof(shared_buffer_t), 0);
       return;
     }
     pb->mdl->ByteCount = PAGE_SIZE;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-09-23 20:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05 10:13 Stability report GPLPV 0.11.0.308 Andreas Kinzler
2011-09-05 10:31 ` James Harper
2011-09-05 13:58   ` Andreas Kinzler
2011-09-06  5:21     ` James Harper
2011-09-12 21:39       ` Andreas Kinzler
2011-09-19 11:35       ` Andreas Kinzler
2011-09-21 23:30         ` James Harper
2011-09-22  9:49           ` Andreas Kinzler
2011-09-22 10:10             ` James Harper
2011-09-23 20:57               ` Andreas Kinzler [this message]
2011-09-23 23:49                 ` James Harper
2011-09-26 14:44                   ` Andreas Kinzler
2011-09-27  0:59                     ` James Harper
2011-09-27  5:45                     ` James Harper
2011-09-30  9:17                       ` Andreas Kinzler
2011-09-30 10:06                         ` James Harper
2011-09-30 10:09                         ` James Harper
2011-10-01 11:10                           ` Andreas Kinzler
2011-10-10 16:07                             ` Andreas Kinzler
2011-09-30 10:17                         ` James Harper
     [not found]                         ` <AEC6C66638C05B468B556EA548C1A77D01E5E2E4@trantor>
2011-10-01  9:28                           ` Andreas Kinzler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E7CF2A8.5040405@hfp.de \
    --to=ml-xen-devel@hfp.de \
    --cc=james.harper@bendigoit.com.au \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.