Skip to content
Commit 54eafcc9 authored by Pushkar Jambhlekar's avatar Pushkar Jambhlekar Committed by Dan Williams
Browse files

device-dax: fix dax_dev_huge_fault() unknown fault size handling



The default case for dax_dev_huge_fault() fault size handling mistakenly
returns when it should unlock. This is not a problem in practice since
the only three possible fault sizes are handled. Going forward, if the
core mm adds a new fault size beyond pte, pmd, or pud device-dax should
abort VM_FAULT_SIGBUS requests not VM_FAULT_FALLBACK since device-dax
guarantees a configured fault granularity for all faults.

Signed-off-by: default avatarPushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent bfca9acf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment