aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGu Zheng <[email protected]>2014-09-05 18:31:00 +0800
committerJaegeuk Kim <[email protected]>2014-09-09 13:15:06 -0700
commit721bd4d5c3f957f98157b6dcac9c4a4dd828e3ff (patch)
treee2bb12369f481acc821367da79b5e3e426b6b6ab /tools/perf/scripts/python/bin/stackcollapse-report
parent184a5cd2ce281f1207d72adb9ae18e416ca371db (diff)
f2fs: use lock-less list(llist) to simplify the flush cmd management
We use flush cmd control to collect many flush cmds, and flush them together. In this case, we use two list to manage the flush cmds (collect and dispatch), and one spin lock is used to protect this. In fact, the lock-less list(llist) is very suitable to this case, and we use simplify this routine. - v2: -use llist_for_each_entry_safe to fix possible use-after-free issue. -remove the unused field from struct flush_cmd. Thanks for Yu's suggestion. - Signed-off-by: Gu Zheng <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions