From patchwork Mon Jun 20 14:04:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel De Graaf X-Patchwork-Id: 9187557 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 36872607D1 for ; Mon, 20 Jun 2016 14:07:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 234E02711E for ; Mon, 20 Jun 2016 14:07:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1817A27813; Mon, 20 Jun 2016 14:07:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C56562711E for ; Mon, 20 Jun 2016 14:07:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEzok-0000wx-Sh; Mon, 20 Jun 2016 14:04:46 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEzoj-0000u1-3u for xen-devel@lists.xen.org; Mon, 20 Jun 2016 14:04:45 +0000 Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id 7C/01-14454-CF7F7675; Mon, 20 Jun 2016 14:04:44 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeJIrShJLcpLzFFi42Lh0Enl0P3zPT3 c4MIKRoslHxezODB6HN39mymAMYo1My8pvyKBNeP2im/sBUvZKlZPXcLWwDiNtYuRk0NCwE/i +71mIJuLg1NgIYvEroP/2UAcCYHjjBLzdq8Dc4QE2hkl5j+aCuVsY5T4NPENO0g/m4CuxIKDK 5lAbBEBaYlrny8zgtjMAtoSze9mgtUIC7hLHFv2hgXEZhFQlTi9cwHYbl4BN4mFHe/ZIO6Qk7 h5rpMZxOYEip//cgvMFhJwlbg4+SbrBEa+BYwMqxg1ilOLylKLdA2N9ZKKMtMzSnITM3N0DQ1 N9HJTi4sT01NzEpOK9ZLzczcxAoOlnoGBcQfjru2ehxglOZiURHmnP0kPF+JLyk+pzEgszogv Ks1JLT7EKMPBoSTBW/cFKCdYlJqeWpGWmQMMW5i0BAePkgjvGZA0b3FBYm5xZjpE6hSjLseCH 7fXMgmx5OXnpUqJ85aDFAmAFGWU5sGNgMXQJUZZKWFeRgYGBiGegtSi3MwSVPlXjOIcjErCvB NBpvBk5pXAbXoFdAQT0BHL+sGOKElESEk1MPrnPlsgxi+5Pj+Lue+2rFZHrcbu31cPPjuo908 gyb5333L+p9Lvzf+G3r7PfqGoSeffme/bXp7zW3Lm+Uv/13ri/bb735j5FBTsTvqfVfuM4eKe BlPFiw7bZ1TIJy37fmbuR1PHHdo+jxtzLdsZ3GRCTvcy6xW9mn/BZHrrhz6tHQeyQj753FRiK c5INNRiLipOBABxUHnjnAIAAA== X-Env-Sender: dgdegra@tycho.nsa.gov X-Msg-Ref: server-16.tower-27.messagelabs.com!1466431480!48754206!1 X-Originating-IP: [8.44.101.8] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 55946 invoked from network); 20 Jun 2016 14:04:43 -0000 Received: from emsm-gh1-uea10.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) (8.44.101.8) by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 20 Jun 2016 14:04:43 -0000 X-IronPort-AV: E=Sophos;i="5.26,498,1459814400"; d="scan'208";a="14811872" IronPort-PHdr: =?us-ascii?q?9a23=3AbJRiwBbZ2xNyNJNqJGs4DOn/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZpcq7bnLW6fgltlLVR4KTs6sC0LqH9fG9EjJfqb+681k8M7V0Hycfjs?= =?us-ascii?q?sXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJP?= =?us-ascii?q?K/jvHcaK1oLsh7H0qsCYPVoArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff?= =?us-ascii?q?9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZ9S6GyQ4AUBfwdVmxnYCgJ45j7uB+G?= =?us-ascii?q?QQaR6380VmQNjgEOEwXDqhbgUcTfqCz/48Z03iiXOYXaQPgbQz2r4e8/RBDkhS?= =?us-ascii?q?gdPhYl4WrXjYp2l6sdrxW/8U8si7XIaZ2YYaItNpjWeskXEC8bBss=3D?= X-IPAS-Result: =?us-ascii?q?A2FJBAAy92dX/wHyM5BdGwEBAYMggVO4V4QJhhcCgTFMAQE?= =?us-ascii?q?BAQEBAgJiJ4IxghsCBGsOEBg5VxmIMMBIAQEBBwIBJI8EfIUPBZh2jioCgWeHc?= =?us-ascii?q?4VGSIYIiSdUhAwgMokEgUQBAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 20 Jun 2016 14:04:31 +0000 Received: from moss-nexus.infosec.tycho.ncsc.mil (moss-nexus [192.168.25.48]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u5KE4U6E018300; Mon, 20 Jun 2016 10:04:31 -0400 From: Daniel De Graaf To: xen-devel@lists.xen.org Date: Mon, 20 Jun 2016 10:04:25 -0400 Message-Id: <1466431466-28055-17-git-send-email-dgdegra@tycho.nsa.gov> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466431466-28055-1-git-send-email-dgdegra@tycho.nsa.gov> References: <1466431466-28055-1-git-send-email-dgdegra@tycho.nsa.gov> Cc: Daniel De Graaf Subject: [Xen-devel] [PATCH 16/17] xen: Make FLASK_AVC_STATS kconfig option visible X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Daniel De Graaf Reviewed-by: Doug Goldstein --- xen/common/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xen/common/Kconfig b/xen/common/Kconfig index 6a51fd5..8fb5a68 100644 --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -134,9 +134,14 @@ config FLASK config FLASK_AVC_STATS def_bool y + prompt "Maintain statistics on the FLASK access vector cache" if EXPERT = "y" depends on FLASK ---help--- - Maintain statistics on the access vector cache + Maintain counters on the access vector cache that can be viewed using + the FLASK_AVC_CACHESTATS sub-op of the xsm_op hypercall. Disabling + this will save a tiny amount of memory and time to update the stats. + + If unsure, say Y. # Enable schedulers menu "Schedulers"