Show evil usbdevfs users
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add support for usbdevfssrc/ src/ | +31 | 0 replies | |
| 2/2 | Show idle processes holding devices at full powersrc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Powertop] [PATCH 0/2] Show evil usbdevfs users
It turns out that powertop does not yet recognise that usbdevfs users that hold usb device open like that cause it to operate at full power, kind of like ALSA sound device users.
So the first patch adds support for ussbdevfs users to shame them for needlessly draining power (I am looking at you, fwupd), and patch two fixes an issue where such processes are not displayed in the summary because they did not have any runtime at all, as if that would somehow prevent the device-opening-damage.
Oleg Drokin (2):
Add support for usbdevfs
Show idle processes holding devices at full power
src/devices/usb.cpp | 28 ++++++++++++++++++++++++++++ src/devices/usb.h | 3 +++ src/process/process.cpp | 3 ++- 3 files changed, 33 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4