commit | c88cc9023068430db3f92919048c47b67c6edcd7 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@felicio.ghostprotocols.net> | Tue Jun 09 16:15:42 2015 -0300 |
committer | Arnaldo Carvalho de Melo <acme@felicio.ghostprotocols.net> | Tue Jun 09 16:15:42 2015 -0300 |
tree | 9daa40aee5160cc2d44f7e2c04bac7bf6a0d0942 | |
parent | 29fbb6e82357c87be652c6717ef52d808ec0af78 [diff] |
tuna: Fix race in is_hardirq_handler It is better to try accessing the fields catching exceptions, as just checking if we have that key is not enough for, right after, that thread having gone away and the populating of that dict entry not finding the file on /proc/PID/. Signed-off-by: Arnaldo Carvalho de Melo <acme@felicio.ghostprotocols.net>