From 55161bd4850986359a029f1c9a81bcf66f37afa8 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sat, 15 Jan 2022 15:02:21 +0100 Subject: [Linux]: increase `read(2)` buffer size when reading /proc files lines (#2054) This should help having more consistent results. --- HISTORY.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'HISTORY.rst') diff --git a/HISTORY.rst b/HISTORY.rst index b1af0199..b19c7142 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,12 +5,20 @@ XXXX-XX-XX +**Enhancements** + +- 2050_, [Linux]: increase ``read(2)`` buffer size from 1k to 32k when reading + ``/proc`` pseudo files line by line. This should help having more consistent + results. + **Bug fixes** - 2048_: ``AttributeError`` is raised if ``psutil.Error`` class is raised manually and passed through ``str``. - 2049_, [Linux]: `cpu_freq`_ erroneously returns ``curr`` value in GHz while ``min`` and ``max`` are in MHz. +- 2050_, [Linux]: `virtual_memory()`_ may raise ``ValueError`` if running in a + LCX container. 5.9.0 ===== -- cgit v1.2.1