[<prev] [next>] [day] [month] [year] [list]
Message-ID: <b1fbcb74-6ce9-3d0e-123b-7a8c5ddd2094@gmx.com>
Date: Wed, 5 Jul 2023 23:04:26 +0000
From: "Artem S. Tashkinov" <aros@....com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: Disable IO accounting inheritance in the Linux kernel
Hi everyone,
The Linux kernel does IO accounting, it calculates how many pages of
data the process has read and written (IO_READ/IO_WRITE).
Here's the issue: when an application launches another application which
does IO and the latter application exits, the former application
inherits (adds) the exited application IO read/write stats.
This could make sense for multiprocess applications like e.g. Chrome or
Firefox.
However it doesn't make any sense for e.g. your desktop environment.
Here's an example: I'm under XFCE. I launch an application from my
desktop. It exits. Now the xfce-session process has added all the IO
stats of the exited application. I do not want that or I want to have an
option of enabling this behavior only for certain applications.
Artem
Powered by blists - more mailing lists