Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275948

Re: [PATCH] dax: Split pmd map when fallback on COW

From Toshi Kani <toshi.kani@hpe.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dax: Split pmd map when fallback on COW
Date 2015-11-24 00:10 +0100
Message-ID <qy8pc-8rU-9@gated-at.bofh.it> (permalink)
References <qy5KG-6GT-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2015-11-23 at 13:05 -0700, Toshi Kani wrote:
> An infinite loop of PMD faults was observed when attempted to
> mlock() a private read-only PMD mmap'd range of a DAX file.

Typo: the above description should be (remove "read-only"): 

An infinite loop of PMD faults was observed when attempted to mlock() a private
PMD mmap'd range of a DAX file.

-Toshi

> __dax_pmd_fault() simply returns with VM_FAULT_FALLBACK when
> falling back to PTE on COW.  However, __handle_mm_fault()
> returns without falling back to handle_pte_fault() because
> a PMD map is present in this case.
> 
> Change __dax_pmd_fault() to split the PMD map, if present,
> before returning with VM_FAULT_FALLBACK.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dax: Split pmd map when fallback on COW Toshi Kani <toshi.kani@hpe.com> - 2015-11-23 21:20 +0100
  Re: [PATCH] dax: Split pmd map when fallback on COW Dan Williams <dan.j.williams@intel.com> - 2015-11-23 21:50 +0100
    Re: [PATCH] dax: Split pmd map when fallback on COW Toshi Kani <toshi.kani@hpe.com> - 2015-11-23 22:00 +0100
      Re: [PATCH] dax: Split pmd map when fallback on COW Dan Williams <dan.j.williams@intel.com> - 2015-11-23 22:00 +0100
        Re: [PATCH] dax: Split pmd map when fallback on COW Toshi Kani <toshi.kani@hpe.com> - 2015-11-23 22:10 +0100
  Re: [PATCH] dax: Split pmd map when fallback on COW Toshi Kani <toshi.kani@hpe.com> - 2015-11-24 00:10 +0100
  Re: [PATCH] dax: Split pmd map when fallback on COW Dan Williams <dan.j.williams@intel.com> - 2015-11-24 18:10 +0100

csiph-web