mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
45ab05c56a
Reading and parsing /proc/<pid>/maps is quite expensive. Do not check for deleted libraries if the main binary has been deleted; in this case the deleted binary takes precedence. Do not check in threads. The check is void for kernel threads and user- land threads can just inherit the state from the main process structure.