platform_system_core/libsync
Jesse Hall 6cd0fc56c0 sync: Cache knowledge of kernel uapi version
Previously all libsync calls would try first the modern/mainline uapi
and if that failed try the legacy uapi, or vice versa. This is
inefficient, and confusing when looking at strace. With this change,
after the first successful syscall, libsync know's what uapi version
the kernel supports, and will only try that version in the future.

Test: sync-unit-tests on bullhead
Change-Id: I8b5de0194da0cfc6c080c0180318e16bb673d3c9
2017-03-08 17:34:14 -08:00
..
include sync: rename sync/sync.h to android/sync.h 2017-02-23 18:44:50 -08:00
tests sync: rename sync/sync.h to android/sync.h 2017-02-23 18:44:50 -08:00
Android.bp sync: Add NDK sync.h and libsync 2017-02-23 18:44:50 -08:00
NOTICE sync: Add NDK sync.h and libsync 2017-02-23 18:44:50 -08:00
libsync.map.txt sync: Add NDK sync.h and libsync 2017-02-23 18:44:50 -08:00
sw_sync.h move sync headers from include to libsync 2014-01-03 21:27:05 +00:00
sync.c sync: Cache knowledge of kernel uapi version 2017-03-08 17:34:14 -08:00
sync_test.c sync: rename sync/sync.h to android/sync.h 2017-02-23 18:44:50 -08:00