[07:03] <arighi> Moonspell, I'm not sure what you need to do exactly with for_each_process(), but maybe you can take a look at try_to_freeze_tasks() in kernel/power/process.c if you need an example on how to iterate among all threads in the system (search for for_each_process_thread())
[12:33] <enyc> hrrm.. is it expected that ubuntu 5.4 LTS kernel will address  new-amd ryzen-7  etc. compatibility?
[12:34] <enyc> or that updated kernel e.g. 5.8 will be needed for those systems?