summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorCen Zhang <zzzccc427@gmail.com>2026-05-05 15:55:10 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2026-06-22 22:52:34 +0300
commitfb645a976f53b175a49bdf52cfcd2c56f4b1456a (patch)
treed9f3b02adc35369eb53b5450cc91dad4c514ced0 /scripts/Makefile.thinlto
parentb952837f734c3a627877bf922408dac04588a643 (diff)
downloadlinux-fb645a976f53b175a49bdf52cfcd2c56f4b1456a.tar.xz
f2fs: annotate lockless NAT counter reads
nat_cnt[] is updated while callers hold nat_tree_lock, but F2FS samples the counters locklessly in f2fs_available_free_memory(), excess_dirty_nats(), and excess_cached_nats(). Those helpers only steer cache reclaim and background sync heuristics; they do not control NAT entry lifetime or checkpoint correctness. Document the intent with data_race(READ_ONCE()) and a short comment instead of adding locking to the balance path. Signed-off-by: Cen Zhang <zzzccc427@gmail.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions