da-viper wrote: > This applies to the existing code - it seems like we write a new entry to > /proc/pressure/memory (I assume we append?) and it is not removed when we are > done with it. > > Is it realistic to remove the line after we're done, do any other tools do > this?
We are not actually writing to the file, it more of like we are registering for an event. When we close the file descriptor we deregister. see https://docs.kernel.org/accounting/psi.html#monitoring-for-pressure-thresholds at the end of the paragraph. https://github.com/llvm/llvm-project/pull/182011 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
