Starting with KDE Plasma 6.7.0, a large kmalloc-128 kernel slab leak appears immediately after logging into a Wayland session with the NVIDIA proprietary driver. Plasma 6.6.5 is completely clean on identical hardware and drivers.
NVIDIA GTX 1060 6GB Driver: 580.173.02 (also reproduced on 580.159.04)
Arch Linux 7.0.14-arch1-1
Plasma 6.7.2 Wayland
Reproduction steps:
Boot Arch Linux with Plasma 6.7.x and NVIDIA proprietary driver on Wayland
Log in to the desktop
Run cat /proc/meminfo | grep SUnreclaim and sudo slabtop -o -s c | grep kmalloc-128
Stats with Plasma 6.7.2 + NVIDIA driver (580.173.02), immediately after login:
slabtop -o -s c | head -n 10
Active / Total Objects (% used) : 12240844 / 12257229 (99.9%)
Active / Total Slabs (% used) : 382327 / 382327 (100.0%)
Active / Total Caches (% used) : 148 / 230 (64.3%)
Active / Total Size (% used) : 1649654 / 1652428 (99.8%)
Minimum / Average / Maximum Object : 0.01K / 0.13K / 17.41K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
11537792 11537792 100% 0.12K 360556 32 1442224 kmalloc-128
85848 85824 99% 1.11K 3066 28 98112 ext4_inode_cache
113463 113459 99% 0.19K 5403 21 21612 dentry
cat /proc/meminfo | grep -iE 'slab|sreclaimable|sunreclaim'
Slab: 1688844 kB
SReclaimable: 147136 kB
SUnreclaim: 1541708 kB
KDE bug report: bugs.kde.org/show_bug.cgi?id=522300
KDE triaged it as a regression and suggested reporting here.
nvidia-bug-report.log.gz (1.1 MB)