5.7-rc0: kswapd eats cpu during a disk test?!

From: Pavel Machek
Date: Sun May 31 2020 - 06:34:59 EST


Hi!

This is simple cat /dev/sda > /dev/zero... on thinkpad x60 (x86-32),
with spinning rust.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1000 root 20 0 0 0 0 R 53.3 0.0 57:34.93 kswapd0
27897 root 20 0 6976 580 536 R 44.5 0.0 1:44.53 cat

It keeps both CPUs busy... and I don't think that's right.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature