Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Timothy Arceri
Pushed, Thanks! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Grazvydas Ignotas
On Fri, Mar 17, 2017 at 8:05 PM, Alan Swanson wrote: > Since switching to LRU eviction the only user of these predicate > functions now resolves directory entry stats itself so pass them > directly saving calling fstat and strlen twice (and the > expensive strlen is skipped entirely if access time

[Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Alan Swanson
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). v2: Update for empty cache dir detection changes

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v3)

2017-03-16 Thread Grazvydas Ignotas
On Thu, Mar 16, 2017 at 7:36 PM, Alan Swanson wrote: > Since switching to LRU eviction the only user of these predicate > functions now resolves directory entry stats itself so pass them > directly saving calling fstat and strlen twice (and the > expensive strlen is skipped entirely if access time

[Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v3)

2017-03-16 Thread Alan Swanson
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). v2: Update for empty cache dir detection changes

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v2)

2017-03-15 Thread Grazvydas Ignotas
On Wed, Mar 15, 2017 at 3:01 PM, Alan Swanson wrote: > Since switching to LRU eviction the only user of these predicate > functions now resolves directory entry stats itself so pass them > directly saving calling fstat and strlen twice (and the > expensive strlen is skipped entirely if access time

[Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v2)

2017-03-15 Thread Alan Swanson
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). v2: Update for empty cache dir detection changes

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly

2017-03-12 Thread Grazvydas Ignotas
FWIW: Reviewed-by: Grazvydas Ignotas On Sun, Mar 12, 2017 at 5:03 PM, Alan Swanson wrote: > Since switching to LRU eviction the only user of these predicate > functions now resolves directory entry stats itself so pass them > directly saving calling fstat and strlen twice (and the expensive > st

[Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly

2017-03-12 Thread Alan Swanson
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). --- Depends on "util/disc_cache: use LRU eviction