commit | 0dd593f22352a0863223fa4ea7e37e926b99282e | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Jun 27 16:05:52 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Jun 27 17:42:15 2011 -0700 |
tree | 58d445ed41c6aea8184848490a9f47a2aa31a876 | |
parent | abb04eec06bce358826e4cb6b5f852424ece8005 [diff] |
PermissionCache caches permission checks This is intended to absorb the cost of the IPC to the permission controller. Cached permission checks cost about 3us, while full blown ones are two orders of magnitude slower. CAVEAT: PermissionCache can only handle system permissions safely for now, because the cache is not purged upon global permission changes. Change-Id: I8b8a5e71e191e3c01e8f792f253c379190eee62e