The Magic Mask for Android
Go to file
topjohnwu f0533fca70 Simplify su_info cache
The previous implementation is great if multiple different requesters call su rapidly in a very short period of time, however in the real world this is nearly impossible to happen. This comes with quite a big overhead, since it requires two lists and also an everlasting background thread to constantly maintain the lists.

The new implementation will spawn a collector thread for each cache miss, and the thread will terminate itself once the data is invalidated.
2018-06-13 23:04:57 +08:00
activity.c Move database logic outside of MagiskSU 2018-06-13 04:33:32 +08:00
pts.c Initialize windows size 2017-12-18 15:46:01 +08:00
pts.h MagiskSU rewrite for unified binary 2017-04-15 03:21:31 +08:00
su_daemon.c Simplify su_info cache 2018-06-13 23:04:57 +08:00
su_socket.c Simplify su_info cache 2018-06-13 23:04:57 +08:00
su.c Move database logic outside of MagiskSU 2018-06-13 04:33:32 +08:00
su.h Simplify su_info cache 2018-06-13 23:04:57 +08:00