]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132917: Use /proc/self/status for mem usage info. (GH-133544) (gh-133718)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 May 2025 23:37:59 +0000 (01:37 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 23:37:59 +0000 (16:37 -0700)
commit8e86f9c3ccbe8955ea5b28b07bb3d37197eef841
treefc2277d1a4eda6fd9f67964040777a07a74532fc
parent4c6fa8921621eb9f71bec674d4d7c32fede159a0
[3.14] gh-132917: Use /proc/self/status for mem usage info. (GH-133544) (gh-133718)

On Linux, use /proc/self/status for mem usage info.  Using smaps_rollup is quite a lot slower and
we can get the similar info from /proc/self/status.
(cherry picked from commit 751db4e64993b5af98aa1c12cc9d7c7c5882961b)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Python/gc_free_threading.c