aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/msi.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-07-24 09:42:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-07-24 09:42:51 -0700
commitd1e9a63dcd7248385bbbccf1650d69e4af914f05 (patch)
tree142d466564cd2d71523d05ef673cd0d6cb029706 /kernel/irq/msi.c
parenthostfs: fix folio conversion (diff)
parentinode: clarify what's locked (diff)
downloadlinux-d1e9a63dcd7248385bbbccf1650d69e4af914f05.tar.gz
linux-d1e9a63dcd7248385bbbccf1650d69e4af914f05.zip
Merge tag 'vfs-6.11-rc1.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs fixes from Christian Brauner: "VFS: - The new 64bit mount ids start after the old mount id, i.e., at the first non-32 bit value. However, we started counting one id too late and thus lost 4294967296 as the first valid id. Fix that. - Update a few comments on some vfs_*() creation helpers. - Move copying of the xattr name out from the locks required to start a filesystem write. - Extend the filelock lock UAF fix to the compat code as well. - Now that we added the ability to look up an inode under RCU it's possible that lockless hash lookup can find and lock an inode after it gets I_FREEING set. It then waits until inode teardown in evict() is finished. The flag however is still set after evict() has woken up all waiters. If the inode lock is taken late enough on the waiting side after hash removal and wakeup happened the waiting thread will never be woken. Before RCU based lookup this was synchronized via the inode_hash_lock. But since unhashing requires the inode lock as well we can check whether the inode is unhashed while holding inode lock even without holding inode_hash_lock. pidfd: - The nsproxy structure contains nearly all of the namespaces associated with a task. When a namespace type isn't supported nsproxy might contain a NULL pointer or always point to the initial namespace type. The logic isn't consistent. So when deriving namespace fds we need to ensure that the namespace type is supported. First, so that we don't risk dereferncing NULL pointers. The correct bigger fix would be to change all namespaces to always set a valid namespace pointer in struct nsproxy independent of whether or not it is compiled in. But that requires quite a few changes. Second, so that we don't allow deriving namespace fds when the namespace type doesn't exist and thus when they couldn't also be derived via /proc/self/ns/. - Add missing selftests for the new pidfd ioctls to derive namespace fds. This simply extends the already existing testsuite. netfs: - Fix debug logging and fix kconfig variable name so it actually works. - Fix writeback that goes both to the server and cache. The streams are only activated once a subreq is added. When a server write happens the subreq doesn't need to have finished by the time the cache write is started. If the server write has already finished by the time the cache write is about to start the cache write will operate on a folio that might already have been reused. Fix this by preactivating the cache write. - Limit cachefiles subreq size for cache writes to MAX_RW_COUNT" * tag 'vfs-6.11-rc1.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: inode: clarify what's locked vfs: Fix potential circular locking through setxattr() and removexattr() filelock: Fix fcntl/close race recovery compat path fs: use all available ids cachefiles: Set the max subreq size for cache writes to MAX_RW_COUNT netfs: Fix writeback that needs to go to both server and cache pidfs: add selftests for new namespace ioctls pidfs: handle kernels without namespaces cleanly pidfs: when time ns disabled add check for ioctl vfs: correct the comments of vfs_*() helpers vfs: handle __wait_on_freeing_inode() and evict() race netfs: Rename CONFIG_FSCACHE_DEBUG to CONFIG_NETFS_DEBUG netfs: Revert "netfs: Switch debug logging to pr_debug()"
Diffstat (limited to 'kernel/irq/msi.c')
0 files changed, 0 insertions, 0 deletions
e.c?id=2e2c0be51ed33598a03db51952993514708240d4&follow=1'>worktree: include repair cmd in usageDes Preston1-0/+1 2022-03-29mv: refresh stat info for moved entryVictoria Dye2-2/+34 2022-03-28reflog: fix 'show' subcommand's argvSZEDER Gábor1-2/+2 2022-03-28reftable: make assignments portable to AIX xlc v12.01Ævar Arnfjörð Bjarmason3-6/+18 2022-03-28docs: mention --refetch fetch optionRobert Coup2-2/+7 2022-03-28fetch: after refetch, encourage auto gc repackingRobert Coup3-2/+49 2022-03-28t5615-partial-clone: add test for fetch --refetchRobert Coup1-1/+51 2022-03-28fetch: add --refetch optionRobert Coup5-1/+34 2022-03-28builtin/fetch-pack: add --refetch optionRobert Coup3-0/+14 2022-03-28fetch-pack: add refetchRobert Coup2-17/+30 2022-03-28fetch-negotiator: add specific noop initializerRobert Coup2-0/+13 2022-03-28pack-objects: lazily set up "struct rev_info", don't leakÆvar Arnfjörð Bjarmason3-8/+48 2022-03-25The 15th batchJunio C Hamano1-0/+12 2022-03-25t7527: test status with untracked-cache and fsmonitor--daemonJeff Hostetler1-0/+115 2022-03-25fsmonitor: force update index after large responsesJeff Hostetler1-1/+54 2022-03-25fsmonitor--daemon: use a cookie file to sync with file systemJeff Hostetler2-1/+241 2022-03-25fsmonitor--daemon: periodically truncate list of modified filesJeff Hostetler1-0/+88 2022-03-25t/perf/p7519: add fsmonitor--daemon test casesJeff Hostetler1-4/+34 2022-03-25t/perf/p7519: speed up test on WindowsJeff Hostetler1-8/+16 2022-03-25t/perf/p7519: fix coding styleJeff Hostetler1-4/+4 2022-03-25t/helper/test-chmtime: skip directories on WindowsJeff Hostetler1-0/+15 2022-03-25t/perf: avoid copying builtin fsmonitor files into test repoJeff Hostetler1-1/+1