diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-12-03 10:52:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-12-03 10:52:01 -0800 |
| commit | 0eae3283c3024d576623736eeafcde75135ad585 (patch) | |
| tree | 66657bb5dda88b4feefad573ac7178061cb9ae47 /kernel/locking/mutex-debug.c | |
| parent | 51e3b98d737aa3e76e077db77b9aa749436c93ac (diff) | |
| parent | c8a3dfe7315945ebcc80ed5be8267920b609649a (diff) | |
Merge tag 'audit-pr-20251201' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
Pull audit updates from Paul Moore:
- 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
* tag 'audit-pr-20251201' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
audit: merge loops in __audit_inode_child()
audit: Use kzalloc() instead of kmalloc()/memset() in audit_krule_to_data()
audit: fix comment misindentation in audit.h
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
