[apparmor] [PATCH] apparmor: try to avoid refing the label in apparmor_file_open

2024-06-21 Thread Mateusz Guzik
It can be done in the common case. A 24-way open1_processes from will-it-scale (separate file open) shows: 29.37% [kernel] [k] apparmor_file_open 26.84% [kernel] [k] apparmor_file_alloc_security 26.62% [kernel] [k] apparmor_file_free_security 1.32% [kerne

Re: [apparmor] [PATCH] apparmor: try to avoid refing the label in apparmor_file_open

2024-06-21 Thread Mateusz Guzik
On Thu, Jun 20, 2024 at 09:26:00AM -0700, John Johansen wrote: > On 6/20/24 06:15, Mateusz Guzik wrote: > > It can be done in the common case. > > > A 24-way open1_processes from will-it-scale (separate file open) shows: > >29.37% [kernel] [k] apparmor_file_open > >26.84% [kerne

Re: [apparmor] [PATCH] apparmor: try to avoid refing the label in apparmor_file_open

2024-06-20 Thread John Johansen
On 6/20/24 09:41, Mateusz Guzik wrote: On Thu, Jun 20, 2024 at 09:26:00AM -0700, John Johansen wrote: On 6/20/24 06:15, Mateusz Guzik wrote: It can be done in the common case. A 24-way open1_processes from will-it-scale (separate file open) shows: 29.37% [kernel] [k] apparmor_f

Re: [apparmor] [PATCH] apparmor: try to avoid refing the label in apparmor_file_open

2024-06-20 Thread John Johansen
On 6/20/24 06:15, Mateusz Guzik wrote: It can be done in the common case. > A 24-way open1_processes from will-it-scale (separate file open) shows: 29.37% [kernel] [k] apparmor_file_open 26.84% [kernel] [k] apparmor_file_alloc_security 26.62% [kernel] [k]