linux/arch/s390
Paolo Bonzini 9fd6dad126 mm: provide a saner PTE walking API for modules
Currently, the follow_pfn function is exported for modules but
follow_pte is not.  However, follow_pfn is very easy to misuse,
because it does not provide protections (so most of its callers
assume the page is writable!) and because it returns after having
already unlocked the page table lock.

Provide instead a simplified version of follow_pte that does
not have the pmdpp and range arguments.  The older version
survives as follow_invalidate_pte() for use by fs/dax.c.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-09 07:05:44 -05:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot kasan, x86, s390: update undef CONFIG_KASAN 2020-12-22 12:55:08 -08:00
configs s390: update defconfigs 2020-12-30 17:08:53 +01:00
crypto - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
hypfs fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
include local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
kernel A treewide cleanup of interrupt descriptor (ab)use with all sorts of racy 2020-12-24 13:50:23 -08:00
kvm ARM: 2020-12-20 10:44:05 -08:00
lib s390/delay: remove udelay_simple() 2020-12-16 14:55:49 +01:00
mm ARM: 2020-12-20 10:44:05 -08:00
net s390/bpf: Fix multiple tail calls 2020-09-14 18:21:31 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci mm: provide a saner PTE walking API for modules 2021-02-09 07:05:44 -05:00
purgatory - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390/Kconfig: sort config S390 select list once again 2020-12-30 17:08:53 +01:00
Kconfig.debug s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
Makefile s390/decompressor: add stacktrace support 2020-11-20 19:19:11 +01:00