1. 19 May, 2023 1 commit
    • Fabio M. De Francesco's avatar
      NFS: Convert kmap_atomic() to kmap_local_folio() · 4b71e241
      Fabio M. De Francesco authored
      kmap_atomic() is deprecated in favor of kmap_local_{folio,page}().
      
      Therefore, replace kmap_atomic() with kmap_local_folio() in
      nfs_readdir_folio_array_append().
      
      kmap_atomic() disables page-faults and preemption (the latter only for
      !PREEMPT_RT kernels), However, the code within the mapping/un-mapping in
      nfs_readdir_folio_array_append() does not depend on the above-mentioned
      side effects.
      
      Therefore, a mere replacement of the old API with the new one is all that
      is required (i.e., there is no need to explicitly add any calls to
      pagefault_disable() and/or preempt_disable()).
      
      Tested with (x)fstests in a QEMU/KVM x86_32 VM, 6GB RAM, booting a kernel
      with HIGHMEM64GB enabled.
      
      Cc: Ira Weiny <ira.weiny@intel.com>
      Signed-off-by: default avatarFabio M. De Francesco <fmdefrancesco@gmail.com>
      Fixes: ec108d3c ("NFS: Convert readdir page array functions to use a folio")
      Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
      4b71e241
  2. 14 May, 2023 13 commits
  3. 13 May, 2023 17 commits
  4. 12 May, 2023 9 commits