CONFIG_TASK_DELAY_ACCT error in “iotop” kernel 5.15

Using kernel 5.15.7-1-MANJARO
iotop shows an error

CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %

now showing SWAPIN column unavailable.

The iotop admin fixed the issue here: CONFIG_TASK_DELAY_ACCT error in “iotop” kernel 5.14 · Issue #21 · Tomas-M/iotop · GitHub

But package in official Manjare repository is one year outdated:

Name : iotop
Version : 0.6-8
Description : View I/O usage of processes
URL : Iotop's homepage
Licenses : GPL
Repository : community
Installed Size : 159,8 kB
Depends On : python
Packager : Evangelos Foutras
Build Date : 12.11.2020
Install Date : 2.1.2021
Install Reason : Explicitly installed
Signatures : Yes

@foutrelis

There is same topic which suggest some workaround that i do not know if is good idea to apply. https://superuser.com/questions/610581/iotop-complains-config-task-delay-acct-not-enabled-in-kernel-only-for-specific possibly better to wait for udpated iotop in MJ repo?

Manjaro - Branch Compare

when i do “$ sudo downgrade iotop --ala-only” it offers:

   1)  iotop    0.6  6  remote
-  2)  iotop    0.6  7  remote
+  3)  iotop    0.6  8  remote
   4)  iotop    0.6  9  remote

when i select 4 then iotop does not launch:

No module named 'iotop'
To run an uninstalled copy of iotop,
launch iotop.py in the top directory

so i removed it from IgnorePkg in file /etc/pacman.conf and run downgrade to version 0.6-8 with launch (even with mentioned error)

The workaround is, doing nothing. It is already fixed upstream in iotop and iotop-c (they are 2 different projects).

If you would like the fix “now”, you should try installing iotop-c from AUR.

Cheers,