diff options
author | 2022-11-15 14:56:23 -0800 | |
---|---|---|
committer | 2022-11-15 14:56:23 -0800 | |
commit | 59d0d52c30d4991ac4b329f049cc37118e00f5b0 (patch) | |
tree | 255a538cf6b539c7f9d20b5e4d1a16dd9ae60ba7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'erofs-for-6.1-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs (diff) | |
parent | netfs: Fix dodgy maths (diff) | |
download | wireguard-linux-59d0d52c30d4991ac4b329f049cc37118e00f5b0.tar.xz wireguard-linux-59d0d52c30d4991ac4b329f049cc37118e00f5b0.zip |
AMerge tag 'netfs-fixes-20221115' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Pull netfx fixes from David Howells:
"Two fixes, affecting the functions that iterates over the pagecache
unmarking or unlocking pages after an op is complete:
- xas_for_each() loops must call xas_retry() first thing and
immediately do a "continue" in the case that the extracted value is
a special value that indicates that the walk raced with a
modification. Fix the unlock and unmark loops to do this.
- The maths in the unlock loop is dodgy as it could, theoretically,
at some point in the future end up with a starting file pointer
that is in the middle of a folio. This will cause a subtraction to
go negative - but the number is unsigned. Fix the maths to use
absolute file positions instead of relative page indices"
* tag 'netfs-fixes-20221115' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
netfs: Fix dodgy maths
netfs: Fix missing xas_retry() calls in xarray iteration
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions