On Fri, Mar 17, 2017 at 8:05 PM, Alan Swanson <rei...@improbability.net> 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 is newer). > > v2: Update for empty cache dir detection changes > v3: Fix passing string length to predicate with the +1 for NULL > termination and also pass sb as pointer > v4: Missed ampersand for passing sb as pointer
Reviewed-by: Grazvydas Ignotas <nota...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev