Commit 40d49a3
mm: allow ->huge_fault() to be called without the mmap_lock held
Remove the checks for the VMA lock being held, allowing the page fault
path to call into the filesystem instead of retrying with the mmap_lock
held. This will improve scalability for DAX page faults. Also update the
documentation to match (and fix some other changes that have happened
recently).
Link: https://lkml.kernel.org/r/20230818202335.2739663-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent 051ddcf commit 40d49a3
3 files changed
Lines changed: 36 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
632 | | - | |
633 | | - | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
634 | 636 | | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
639 | 641 | | |
640 | | - | |
| 642 | + | |
641 | 643 | | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
651 | 654 | | |
652 | 655 | | |
653 | 656 | | |
| |||
657 | 660 | | |
658 | 661 | | |
659 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
660 | 670 | | |
661 | 671 | | |
662 | 672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4854 | 4854 | | |
4855 | 4855 | | |
4856 | 4856 | | |
4857 | | - | |
4858 | | - | |
4859 | | - | |
4860 | | - | |
4861 | | - | |
| 4857 | + | |
4862 | 4858 | | |
4863 | | - | |
4864 | 4859 | | |
4865 | 4860 | | |
4866 | 4861 | | |
| |||
4880 | 4875 | | |
4881 | 4876 | | |
4882 | 4877 | | |
4883 | | - | |
4884 | | - | |
4885 | | - | |
4886 | | - | |
4887 | 4878 | | |
4888 | 4879 | | |
4889 | 4880 | | |
| |||
4904 | 4895 | | |
4905 | 4896 | | |
4906 | 4897 | | |
4907 | | - | |
4908 | | - | |
4909 | | - | |
4910 | | - | |
4911 | | - | |
| 4898 | + | |
4912 | 4899 | | |
4913 | | - | |
4914 | 4900 | | |
4915 | 4901 | | |
4916 | 4902 | | |
| |||
4927 | 4913 | | |
4928 | 4914 | | |
4929 | 4915 | | |
4930 | | - | |
4931 | | - | |
4932 | | - | |
4933 | | - | |
4934 | 4916 | | |
4935 | 4917 | | |
4936 | 4918 | | |
| |||
0 commit comments