RE: Anticipatory prefaulting in the page fault handler V1

From: Luck, Tony
Date: Wed Dec 08 2004 - 13:36:42 EST


>We could use that as a way to switch of the preallocation. How
>expensive is that check?

If you already looked up the vma, then it is very cheap. Just
check for VM_RAND_READ in vma->vm_flags.

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