{"push_id":1397836951,"size":1,"distinct_size":1,"ref":"refs/heads/lmt-upstream","head":"8709399cf95047e0f8a3c3b9e44d822f3fa7c81e","before":"847ad926f7cfa1e75c5a2bec558e6743bf7b8dea","commits":[{"sha":"8709399cf95047e0f8a3c3b9e44d822f3fa7c81e","author":{"name":"Matthias Kaehlcke","email":"24ce2136bed3b8321f32594e75d00ea288152e5c@chromium.org"},"message":"runtime-pm: refactor listed_by_id()\n\nruntime-pm's listed_by_id() function is horribly inefficient, it launches dozens\nof child processes for each USB device. Due to this \"laptop-mode force\" can take\n20+ seconds to complete on some devices, and that with a whitelist of moderate\nsize. This patch refactors listed_by_id which reduces the execution time of\nruntime-pm by factor 10+.\n\nIMPORTANT: This patch changes the matching of device id wildcards from regular\nexpressions to globbing. This should be good enough for most scenarios but\nmight break existing configurations.\n\nlisted_by_type() suffers from similar problems, fixing it is beyond the scope of\nthis patch.\n\nSigned-off-by: Matthias Kaehlcke <mka@chromium.org>","distinct":true,"url":"https://api.github.com/repos/rickysarraf/laptop-mode-tools/commits/8709399cf95047e0f8a3c3b9e44d822f3fa7c81e"}]}
{"actor":{"display_login":"rickysarraf"}}