Re: [PATCH 2/2] Perform check in iov_iter_fault_in_readable() bycheck_readable_bytes()

From: Alan Cox
Date: Mon May 18 2009 - 06:03:40 EST


> On MMUless you wouldn't use page protection as a GC technique :-)
> Is EFAULT really optional on systems with page protection?

Yes.

It's also not guaranteed under Linux although pretty much all our I/O
paths do bother to report -EFAULT

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