public inbox for audit@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: audit@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] audit/audit-pr-20251201
Date: Mon, 01 Dec 2025 21:00:48 -0500	[thread overview]
Message-ID: <4dec81096fb34aae6b383a151dba1ce7@paul-moore.com> (raw)

Linus,

A small set of audit changes for v6.19, the summary is below:

- Consolidate the loops in __audit_inode_child() to improve performance

  When logging a child inode in __audit_inode_child(), we first run
  through the list of recorded inodes looking for the parent and then
  we repeat the search looking for a matching child entry.  This pull
  request consolidates both searches into one pass through the recorded
  inodes, resuling in approximately a 50% reduction in audit overhead.
  
  See the commit description for the testing details.

- Combine kmalloc()/memset() into kzalloc() in audit_krule_to_data()

- Comment fixes

Paul

--
The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada:

  Linux 6.18-rc2 (2025-10-19 15:19:16 -1000)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
    tags/audit-pr-20251201

for you to fetch changes up to c8a3dfe7315945ebcc80ed5be8267920b609649a:

  audit: merge loops in __audit_inode_child() (2025-11-07 16:50:42 -0500)

----------------------------------------------------------------
audit/stable-6.19 PR 20251201
----------------------------------------------------------------

Gongwei Li (1):
      audit: Use kzalloc() instead of kmalloc()/memset() in
         audit_krule_to_data()

Ricardo Robaina (2):
      audit: fix comment misindentation in audit.h
      audit: merge loops in __audit_inode_child()

 kernel/audit.h       |    2 -
 kernel/auditfilter.c |    3 --
 kernel/auditsc.c     |   47 +++++++++++++++++++------------------------
 3 files changed, 23 insertions(+), 29 deletions(-)

--
paul-moore.com

             reply	other threads:[~2025-12-02  2:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-02  2:00 Paul Moore [this message]
2025-12-03 19:32 ` [GIT PULL] audit/audit-pr-20251201 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4dec81096fb34aae6b383a151dba1ce7@paul-moore.com \
    --to=paul@paul-moore.com \
    --cc=audit@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox