Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 08:37:33 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r265665 - stable/9/sys/dev/acpica/Osd
Message-ID:  <201405080837.s488bXwF091043@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Thu May  8 08:37:32 2014
New Revision: 265665
URL: http://svnweb.freebsd.org/changeset/base/265665

Log:
  MFC r264849 & r264883
  
  Exposed debug.acpi.max_tasks and debug.acpi.max_threads via sysctls so their
  values can be viewed.
  
  Sponsored by:	Multiplay

Modified:
  stable/9/sys/dev/acpica/Osd/OsdSchedule.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/acpica/Osd/OsdSchedule.c
==============================================================================
--- stable/9/sys/dev/acpica/Osd/OsdSchedule.c	Thu May  8 08:35:24 2014	(r265664)
+++ stable/9/sys/dev/acpica/Osd/OsdSchedule.c	Thu May  8 08:37:32 2014	(r265665)
@@ -57,6 +57,8 @@ ACPI_MODULE_NAME("SCHEDULE")
  */
 static int acpi_max_tasks = ACPI_MAX_TASKS;
 TUNABLE_INT("debug.acpi.max_tasks", &acpi_max_tasks);
+SYSCTL_INT(_debug_acpi, OID_AUTO, max_tasks, CTLFLAG_RDTUN, &acpi_max_tasks,
+    0, "Maximum acpi tasks");
 
 /*
  * Allow the user to tune the number of task threads we start.  It seems
@@ -64,6 +66,8 @@ TUNABLE_INT("debug.acpi.max_tasks", &acp
  */
 static int acpi_max_threads = ACPI_MAX_THREADS;
 TUNABLE_INT("debug.acpi.max_threads", &acpi_max_threads);
+SYSCTL_INT(_debug_acpi, OID_AUTO, max_threads, CTLFLAG_RDTUN, &acpi_max_threads,
+    0, "Maximum acpi threads");
 
 static MALLOC_DEFINE(M_ACPITASK, "acpitask", "ACPI deferred task");
 



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