mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
Read process command lines in one call in the zRAM watcher The watcher read every /proc/<pid>/cmdline one byte per system call, costing about 390 ms of CPU per scan every 5 s (every second under memory pressure). mapfile reads in blocks and yields the same argument list, cutting a scan to about 17 ms.