Re: mlockall and mmap of IO devices don't mix

From: Andi Kleen
Date: Sat Oct 04 2003 - 04:17:50 EST


> This check is only done, if it is a valid pfn (pfn_valid()) of a present
> pte.

pfn_valid is useless, it doesn't handle all IO holes on x86 for examples.

-Andi
-
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/