aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2014-07-23 14:00:04 -0700
committerLinus Torvalds <[email protected]>2014-07-23 15:10:54 -0700
commitb4c5c60920e3b0c4598f43e7317559f6aec51531 (patch)
tree558613a15eb002c5a0aef4f77c99efc741cd5b4f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parenta0f7a756c2f7543585657cdeeefdfcc11b567293 (diff)
zram: avoid lockdep splat by revalidate_disk
Sasha reported lockdep warning [1] introduced by [2]. It could be fixed by doing disk revalidation out of the init_lock. It's okay because disk capacity change is protected by init_lock so that revalidate_disk always sees up-to-date value so there is no race. [1] https://lkml.org/lkml/2014/7/3/735 [2] zram: revalidate disk after capacity change Fixes 2e32baea46ce ("zram: revalidate disk after capacity change"). Signed-off-by: Minchan Kim <[email protected]> Reported-by: Sasha Levin <[email protected]> Cc: "Alexander E. Patrakov" <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Jerome Marchand <[email protected]> Cc: Sergey Senozhatsky <[email protected]> CC: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions