Re: [Intel-gfx] [PATCH igt 2/2] lib: Cache the debugfs mountpoint

2018-02-20 Thread Joonas Lahtinen
Quoting Chris Wilson (2018-02-20 00:18:07) > When using igt_debugfs_*() inside a tight loop, the overhead of calling > xstat64 (from is_mountpoint()) creeps up in the profiles. Eliminate it > by caching the resultant path for finding/mounting debugfs. > > Signed-off-by: Chris Wilson

[Intel-gfx] [PATCH igt 2/2] lib: Cache the debugfs mountpoint

2018-02-19 Thread Chris Wilson
When using igt_debugfs_*() inside a tight loop, the overhead of calling xstat64 (from is_mountpoint()) creeps up in the profiles. Eliminate it by caching the resultant path for finding/mounting debugfs. Signed-off-by: Chris Wilson --- lib/igt_debugfs.c | 26

[Intel-gfx] [PATCH igt 2/2] lib: Cache the debugfs mountpoint

2018-02-19 Thread Chris Wilson
When using igt_debugfs_*() inside a tight loop, the overhead of calling xstat64 (from is_mountpoint()) creeps up in the profiles. Eliminate it by caching the resultant path for finding/mounting debugfs. Signed-off-by: Chris Wilson --- lib/igt_debugfs.c | 26