svn commit: r233939 - head/sys/dev/xen/balloon

Sergey Kandaurov pluknet at FreeBSD.org
Fri Apr 6 08:13:30 UTC 2012


Author: pluknet
Date: Fri Apr  6 08:13:29 2012
New Revision: 233939
URL: http://svn.freebsd.org/changeset/base/233939

Log:
  Free ballooned pages with the corresponding malloc type.
  
  MFC after:	1 week

Modified:
  head/sys/dev/xen/balloon/balloon.c

Modified: head/sys/dev/xen/balloon/balloon.c
==============================================================================
--- head/sys/dev/xen/balloon/balloon.c	Fri Apr  6 06:55:21 2012	(r233938)
+++ head/sys/dev/xen/balloon/balloon.c	Fri Apr  6 08:13:29 2012	(r233939)
@@ -140,7 +140,7 @@ balloon_retrieve(void)
 	STAILQ_REMOVE_HEAD(&ballooned_pages, list);
 
 	page = entry->page;
-	free(entry, M_DEVBUF);
+	free(entry, M_BALLOON);
 	
 	bs.balloon_low--;
 


More information about the svn-src-head mailing list