aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-20 13:23:38 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-22 15:06:36 +0100
commitef8e5dbbb09035a0c41aa47a328e6248702d4d2b (patch)
tree2bc40120c860951fa3aff637fee630689a3b1932 /tools/perf/scripts/python/export-to-postgresql.py
parent9ee15880018008194c6187d0fda99dc059c41d51 (diff)
staging: lustre: ptlrpc: list_for_each improvements.
1/ use list_for_each_entry_safe() instead of list_for_each_safe() and similar. 2/ use list_first_entry() and list_last_entry() where appropriate. 3/ When removing everything from a list, use while ((x = list_first_entry_or_null()) { as it makes the intent clear 4/ No need to take a spinlock in a structure that is about to be freed - we must have exclusive access at this stage. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions