[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH] xsm/flask: add AVC pre-allocation boot parameter


  • To: Jan Beulich <jbeulich@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Sergiy Kibrik <sergiy_kibrik@xxxxxxxx>
  • Date: Mon, 18 Aug 2025 14:05:13 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GEEVsKvUw3gYPGQzKfXXvO/h4+13vEHAuwYIS+sjKCY=; b=sgzrR2mBOadmpQCUEFwOzxThZRrJWpiLG4vCbZTsI01oy/SLUYnsN374dMUyh7558ezRHwPuw+pNZs32VF4V1MZmQuiB+74sO0rqD0RLzMHRtUMh6SZUlqYSvJQmZd47aBLXJXUDhwNMbRrGA1ZpqC9jNNPExtse/bg4T28HQzVJYK0NeuxGlwKRPP7V0wKOHiB+t2ySKJLQ4sGjY92yIPAZsEZFvUg+5Kaprn8roxNZT4e1rpvSpGOX6vjx8b/UwyuOxow8i6LX7Yvr7U8MFkeJFwfeHrZR5yel3KRmp3pbu6iAMTtsqHh0ypUFmQG3g+/kU+Qdt2Dtu59EViB20w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rz3bvIhS8Yvdx9tiWGshNUjA5OKqHfEC5Zb4ec+gIA/I2+DHnWVgMqMyCOhWG6hFIP3tB/26zUXpI+cnNe6xAemNuGZ/nHk6fsDVWFEZbLGUxERlEurr2cnUhkgnN2XHWnDXQJ606mDj+juo+45LZHFopsyKWbp8ozusNgmHKvVZJPElnVH9EIL5EI3dYaywUtpyjYq3HKk0H39Ptqp3ZLpMbE3ElL867liZcEDerrqO+e9AOE9IdpFCDllkZ/wA2yrCzsWe7A9p/E+VZ3hPY1XWw3pMqYup26KQ8q6SXVIRmAp2E/xuMnS0meI2VCSw4qiy7rDK1jvUOLbTgwZURA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Delivery-date: Mon, 18 Aug 2025 11:05:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

15.08.25 15:20, Jan Beulich:
On 15.08.2025 12:23, Sergiy Kibrik wrote:
--- a/docs/misc/xen-command-line.pandoc
+++ b/docs/misc/xen-command-line.pandoc
@@ -238,6 +238,15 @@ loops for Queued Invalidation completions.**
  Specify a maximum amount of available memory, to which Xen will clamp
  the e820 table.
+### avc_prealloc

In addition to what Andrew said, please prefer dashes over underscores in new
options.

@@ -97,6 +99,9 @@ static struct avc_cache avc_cache;
static DEFINE_RCU_READ_LOCK(avc_rcu_lock); +bool __read_mostly opt_avc_prealloc = false;

__ro_after_init?


sure, will do that. Thank you!

  -Sergiy



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.