Re: [PATCH] i386 uaccess to fixmap pages

From: Roland McGrath (roland@redhat.com)
Date: Fri May 09 2003 - 04:40:51 EST


> Nasty. Maybe the best approach is to mostly uninline the access_ok()
> check. Do the check for constant-sized small copies first, so those guys
> still do the access_ok() check inline; uninline the rest.

That was the only thing I could think of too. I haven't made any attempt
to figure out how much of the code size comes from the various inlined
user-memory copying functions that call access_ok, and could be reworked
not to inline any of the uncommon paths, vs direct uses of access_ok in
miscellaneous code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:30 EST