Commit d0d845a
apparmor: use per file locks for transactional queries
As made mention of in commit 1dea3b4 ("apparmor: speed up
transactional queries"), a single lock is currently used to synchronize
transactional queries. We can, use the lock allocated for each file by
VFS instead.
Signed-off-by: Hamza Mahfooz <someguy@effective-light.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>1 parent aa4ceed commit d0d845a
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
815 | | - | |
816 | 814 | | |
817 | 815 | | |
818 | 816 | | |
| |||
846 | 844 | | |
847 | 845 | | |
848 | 846 | | |
849 | | - | |
| 847 | + | |
850 | 848 | | |
851 | 849 | | |
852 | | - | |
| 850 | + | |
853 | 851 | | |
854 | 852 | | |
855 | 853 | | |
| |||
878 | 876 | | |
879 | 877 | | |
880 | 878 | | |
881 | | - | |
| 879 | + | |
882 | 880 | | |
883 | | - | |
| 881 | + | |
| 882 | + | |
884 | 883 | | |
885 | 884 | | |
886 | 885 | | |
| |||
0 commit comments