All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]  extra put_page()
@ 2004-09-14 16:27 Charles Coffing
  0 siblings, 0 replies; only message in thread
From: Charles Coffing @ 2004-09-14 16:27 UTC (permalink / raw)
  To: xen-devel

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

There appears to be an extra put_page() in an error path of
xen/arch/x86/memory.c.  The attached patch removes it.

Thanks,
Charles


[-- Attachment #2: memory.c.diff --]
[-- Type: application/octet-stream, Size: 288 bytes --]

--- memory.c.orig	2004-09-14 09:42:14.000000000 -0600
+++ memory.c	2004-09-14 09:57:03.000000000 -0600
@@ -984,7 +984,6 @@
         if ( unlikely(!okay) )
         {
             MEM_LOG("Error while pinning pfn %08lx", pfn);
-            put_page(page);
             break;
         }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-14 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 16:27 [PATCH] extra put_page() Charles Coffing

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.