Re: LANANA: To Pending Device Number Registrants

From: James Simmons (jsimmons@transvirtual.com)
Date: Tue May 15 2001 - 13:36:41 EST


> The only problem with mmap(): You cannot know, if the page
> changed under you a**.
>
> What would first mmap()ed page of the screen look like, if some
> accelerator wrote a line there? Invalidating all mmap()ed pages
> for each and every accelerator command would be evil. Forbidding
> reads of that page is evil, too.
>
> I have the same problem with DSPs, which like to mmap() some of
> their memory into the application, but can alter this memory
> every instruction the execute.

I know about this problem for some time :-( Unfortunely most cards don't
have OpenGL or some similar api on chip. Of course you don't have to
invalid all the mappings. Only the ones the accelerator affected. This
plus proper serialization could over come this.

-
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 : Tue May 15 2001 - 21:00:42 EST