]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/mm/fault.c
readahead: fault retry breaks mmap file read random detection
[karo-tx-linux.git] / arch / powerpc / mm / fault.c
index 5495ebe983a23489403be6fc8388e7434a47f769..0a6b28336eb0791354c1dc4439ddddcc4e2b35d7 100644 (file)
@@ -451,6 +451,7 @@ good_area:
                        /* Clear FAULT_FLAG_ALLOW_RETRY to avoid any risk
                         * of starvation. */
                        flags &= ~FAULT_FLAG_ALLOW_RETRY;
+                       flags |= FAULT_FLAG_TRIED;
                        goto retry;
                }
        }