diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-09-04 16:39:51 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-04 21:50:17 +0200 |
commit | 6b58e7f146f8d79c08f62087f928e1f01747de71 (patch) | |
tree | 98669b06646894d1dd8f85c1ae932aa6a8fb42de /virt/kvm/irq_comm.c | |
parent | 849abde92bd3314a4894f2b4f70b30c2accf8653 (diff) |
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 <drepper@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <20090904193951.GB6186@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions