Notes from the LPC scheduler microconference
Notes from the LPC scheduler microconference
Posted Sep 22, 2017 17:58 UTC (Fri) by nevets (subscriber, #11875)In reply to: Notes from the LPC scheduler microconference by karim
Parent article: Notes from the LPC scheduler microconference
This has already happened with powertop. We had to keep 4 bytes of zeros in *every* event because powertop hard coded the offsets. Luckily for me, that hard coding broke when you had a 32 bit powertop on a 64 bit kernel. Then I was able to fix powertop to use the proper parsing and finally remove those 4 blank bytes. But that took years to get done.
There's a wake up "success" byte in the wake up code, that is now just a hard coded 1. That can't be removed, because a lot of tools look at that to see if the wake up was successful or not, even though it is always 1.
