summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2023-03-10 15:37:20 +0000
committerMike Snitzer <snitzer@kernel.org>2023-03-30 15:57:50 -0400
commitbe845babda1bb168d3f9f47c171f0a24a3312cba (patch)
tree86ef2c74062b4233447536f5615f5ddd36241d9b /tools/perf/scripts/python/export-to-postgresql.py
parentb75a80f4f5a956f3d335ebf29c7cee1b234ac3cf (diff)
dm bufio: add LRU abstraction
A CLOCK algorithm is used in this LRU abstraction. This avoids relinking list nodes, which would require a write lock protecting it. None of the LRU methods are threadsafe; locking must be done at a higher level. Code that uses this new LRU will be introduced in the next 2 commits. As such, this commit will cause "defined but not used" compiler warnings that will be resolved by the next 2 commits. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions