commit | f43bb27ebf27ee3f90a42a08b86314d0239c30e4 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 19 14:49:44 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Aug 03 16:06:51 2017 +1000 |
tree | fe051faddef222be810a71eb944f87f65524de43 | |
parent | bd0d63f8095ae6cf83ade0ae7e8907ccc510a434 [diff] |
powerpc/mm: Don't lose "major" fault indication on retry If the first iteration returns VM_FAULT_MAJOR but the second one doesn't, we fail to account the fault as a major fault. This fixes it and brings the code in line with x86. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>