mm/fault: convert remaining simple cases to lock_mm_and_find_vma()
This does the simple pattern conversion of alpha, arc, csky, hexagon,
loongarch, nios2, sh, sparc32, and xtensa to the lock_mm_and_find_vma()
helper. They all have the regular fault handling pattern without odd
special cases.
The remaining architectures all have something that keeps us from a
straightforward conversion: ia64 and parisc have stacks that can grow
both up as well as down (and ia64 has special address region checks).
And m68k, microblaze, openrisc, sparc64, and um end up having extra
rules about only expanding the stack down a limited amount below the
user space stack pointer. That is something that x86 used to do too
(long long ago), and it probably could just be skipped, but it still
makes the conversion less than trivial.
Note that this conversion was done manually and with the exception of
alpha without any build testing, because I have a fairly limited cross-
building environment. The cases are all simple, and I went through the
changes several times, but...
Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
parent
8b35ca3e
-
mentioned in commit e55e5df1
-
mentioned in commit 0b26eadb
-
mentioned in commit 21ee33d5
-
mentioned in commit c2d89256
-
mentioned in commit 0a1da2dd
-
mentioned in commit 32384659
-
mentioned in commit 7e697935
-
mentioned in commit 8edb3b20
-
mentioned in commit 41bdba8c
-
mentioned in commit 58f689ea
-
mentioned in commit 203cfe05
-
mentioned in commit 23d1e960
-
mentioned in commit 2aad4f30
-
mentioned in commit 87d780e0
-
mentioned in commit d85a143b
Please register or sign in to comment