Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 11:49:21 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r234377 - stable/8/sys/dev/xen/balloon
Message-ID:  <201204171149.q3HBnLsh080896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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--;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204171149.q3HBnLsh080896>