aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJoe Thornber <[email protected]>2023-03-10 15:37:20 +0000
committerMike Snitzer <[email protected]>2023-03-30 15:57:50 -0400
commitbe845babda1bb168d3f9f47c171f0a24a3312cba (patch)
tree86ef2c74062b4233447536f5615f5ddd36241d9b /lib/test_fortify/write_overflow-strncpy-src.c
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 <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions