]> git.eshelyaron.com Git - emacs.git/commit
Fix process-attributes rss and pmem on GNU/Linux
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Jul 2024 06:32:24 +0000 (23:32 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jul 2024 08:40:34 +0000 (10:40 +0200)
commitf333ea59de68fb8781b01b7ae28df96306ca74b5
treea814c8e4de1d65bd89d17e8914c39e94cec2a9c5
parent4f732a07c434ee25ddfe699bcf356b509015bb7c
Fix process-attributes rss and pmem on GNU/Linux

Problem reported by Rahguzar <https://bugs.gnu.org/72278>.
* src/sysdep.c (system_process_attributes):
[GNU_LINUX || CYGWIN || __ANDROID__]: When computing rss and pmem,
don’t assume pagesize is 4096; it could be greater.

(cherry picked from commit 42cdfe7f60ef7ae3bccb5b1e43349c3a6b54ac4a)
src/sysdep.c