svn commit: r234375 - stable/9/sys/dev/xen/balloon

Sergey Kandaurov pluknet at FreeBSD.org
Tue Apr 17 11:01:18 UTC 2012


Author: pluknet
Date: Tue Apr 17 11:01:17 2012
New Revision: 234375
URL: http://svn.freebsd.org/changeset/base/234375

Log:
  MFC r233939:
   Free ballooned pages with the corresponding malloc type.

Modified:
  stable/9/sys/dev/xen/balloon/balloon.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/dev/xen/balloon/balloon.c
==============================================================================
--- stable/9/sys/dev/xen/balloon/balloon.c	Tue Apr 17 10:44:28 2012	(r234374)
+++ stable/9/sys/dev/xen/balloon/balloon.c	Tue Apr 17 11:01:17 2012	(r234375)
@@ -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-stable-9 mailing list