svn commit: r234377 - stable/8/sys/dev/xen/balloon

Sergey Kandaurov pluknet at FreeBSD.org
Tue Apr 17 11:49:21 UTC 2012


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

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

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

Modified: stable/8/sys/dev/xen/balloon/balloon.c
==============================================================================
--- stable/8/sys/dev/xen/balloon/balloon.c	Tue Apr 17 11:13:03 2012	(r234376)
+++ stable/8/sys/dev/xen/balloon/balloon.c	Tue Apr 17 11:49:21 2012	(r234377)
@@ -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-8 mailing list