svn commit: r323876 - head/sys/kern
Stephen Hurd
shurd at FreeBSD.org
Thu Sep 21 20:34:35 UTC 2017
Author: shurd
Date: Thu Sep 21 20:34:33 2017
New Revision: 323876
URL: https://svnweb.freebsd.org/changeset/base/323876
Log:
Fix M_GTASKQUEUE definition
Previously had the same short and long description as taskqueues.
This could cause problems with memguard(9) and vmstat -m which use
the short description as a unique identifier.
Reviewed by: sbruno
Approved by: sbruno (mentor)
MFC after: 3 days
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D12438
Modified:
head/sys/kern/subr_gtaskqueue.c
Modified: head/sys/kern/subr_gtaskqueue.c
==============================================================================
--- head/sys/kern/subr_gtaskqueue.c Thu Sep 21 20:29:14 2017 (r323875)
+++ head/sys/kern/subr_gtaskqueue.c Thu Sep 21 20:34:33 2017 (r323876)
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <sys/unistd.h>
#include <machine/stdarg.h>
-static MALLOC_DEFINE(M_GTASKQUEUE, "taskqueue", "Task Queues");
+static MALLOC_DEFINE(M_GTASKQUEUE, "gtaskqueue", "Group Task Queues");
static void gtaskqueue_thread_enqueue(void *);
static void gtaskqueue_thread_loop(void *arg);
More information about the svn-src-all
mailing list