diff options
| author | Ulrich Drepper <[email protected]> | 2009-09-04 19:39:51 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-09-04 19:50:17 +0000 |
| commit | 6b58e7f146f8d79c08f62087f928e1f01747de71 (patch) | |
| tree | 98669b06646894d1dd8f85c1ae932aa6a8fb42de /security/selinux/hooks.c | |
| parent | perf stat: Clean up statistics calculations a bit more (diff) | |
| download | kernel-6b58e7f146f8d79c08f62087f928e1f01747de71.tar.gz kernel-6b58e7f146f8d79c08f62087f928e1f01747de71.zip | |
perf tools: Avoid unnecessary work in directory lookups
This patch improves some (common) inefficiencies in the
handling of directory lookups:
- not using the d_type information returned by the kernel
- constructing (absolute) paths for file operation even though
directory-relative operations using the *at functions is
possible
There are more places to fix but this is a start.
Signed-off-by: Ulrich Drepper <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
