I tested it and it looks good: root@ltc-boston25:/home/ubuntu/comp_selftest# insmod comp_selftest.ko root@ltc-boston25:/home/ubuntu/comp_selftest# ./testit root@ltc-boston25:/home/ubuntu/comp_selftest# dmesg |tail [ 10.561010] audit: type=1400 audit(1561358069.720:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=3496 comm="apparmor_parser" [ 10.561014] audit: type=1400 audit(1561358069.720:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=3496 comm="apparmor_parser" [ 920.103139] comp_selftest: loading out-of-tree module taints kernel. [ 920.103358] comp_selftest: module verification failed: signature and/or required key missing - tainting kernel [ 931.871741] compression self test starting [ 931.871744] compressor: 842-nx [ 931.871745] repeat: Y [ 931.871745] threads: 16 [ 931.871747] offsets 0-0/1, 0-0/1, 0-0/1 [ 931.871749] lengths 10000-10000/1, 10000-10000/1, 10000-10000/1 root@ltc-boston25:/home/ubuntu/comp_selftest# cat /sys/kernel/debug/comp_selftest/status ^Creads 16 MBps: 47121/42300 peak 47786/47470 off 0/0/0 len 10000/10000/10000 root@ltc-boston25:/home/ubuntu/comp_selftest# cat /proc/version Linux version 4.15.0-53-generic (buildd@bos02-ppc64el-009) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #57-Ubuntu SMP Thu Jun 13 09:28:40 UTC 2019 root@ltc-boston25:/home/ubuntu/comp_selftest#
I tested it and it looks good: boston25: /home/ubuntu/ comp_selftest# insmod comp_selftest.ko boston25: /home/ubuntu/ comp_selftest# ./testit boston25: /home/ubuntu/ comp_selftest# dmesg |tail 9.720:8) : apparmor="STATUS" operation= "profile_ load" profile= "unconfined" name="/ usr/lib/ NetworkManager/ nm-dhcp- helper" pid=3496 comm="apparmor_ parser" 9.720:9) : apparmor="STATUS" operation= "profile_ load" profile= "unconfined" name="/ usr/lib/ connman/ scripts/ dhclient- script" pid=3496 comm="apparmor_ parser" boston25: /home/ubuntu/ comp_selftest# cat /sys/kernel/ debug/comp_ selftest/ status boston25: /home/ubuntu/ comp_selftest# cat /proc/version bos02-ppc64el- 009) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #57-Ubuntu SMP Thu Jun 13 09:28:40 UTC 2019 boston25: /home/ubuntu/ comp_selftest#
root@ltc-
root@ltc-
root@ltc-
[ 10.561010] audit: type=1400 audit(156135806
[ 10.561014] audit: type=1400 audit(156135806
[ 920.103139] comp_selftest: loading out-of-tree module taints kernel.
[ 920.103358] comp_selftest: module verification failed: signature and/or required key missing - tainting kernel
[ 931.871741] compression self test starting
[ 931.871744] compressor: 842-nx
[ 931.871745] repeat: Y
[ 931.871745] threads: 16
[ 931.871747] offsets 0-0/1, 0-0/1, 0-0/1
[ 931.871749] lengths 10000-10000/1, 10000-10000/1, 10000-10000/1
root@ltc-
^Creads 16 MBps: 47121/42300 peak 47786/47470 off 0/0/0 len 10000/10000/10000
root@ltc-
Linux version 4.15.0-53-generic (buildd@
root@ltc-