Re: Fw:Re:Fw:Re:[RFC,v1,1/1] audit: speed up syscall rule match while exiting syscall

2021-01-22 Thread Paul Moore
On Thu, Jan 21, 2021 at 9:25 AM wrote: > > Thanks for reply, I have sent a new patch with better performance. > The v1 patch uses mutex() is not necessary. > > Performance measurements: > 1.Environment > CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz > Linux kernel version: 5.11-rc3 > Audit version:

Re: Fw:Re:[RFC,v1,1/1] audit: speed up syscall rule match while exiting syscall

2021-01-14 Thread Paul Moore
On Thu, Jan 14, 2021 at 8:25 AM wrote: > > Performance measurements: > 1.Environment > CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz > Linux kernel version: 5.11-rc3 > Audit version: 2.8.4 > > 2.Result > 2.1 Syscall invocations > Test method: > Run command "top" with no-load. > Add rule lik

Re: [RFC,v1,1/1] audit: speed up syscall rule match while exiting syscall

2021-01-13 Thread Paul Moore
On Wed, Jan 13, 2021 at 7:39 AM wrote: > From 82ebcf43481be21ee3e32ec1749b42f651737880 Mon Sep 17 00:00:00 2001 > From: Yang Yang > Date: Wed, 13 Jan 2021 20:18:04 +0800 > Subject: [PATCH] [RFC,v1,1/1] speed up syscall rule match while exiting > syscall > If user add any syscall rule, in all sy