From: David T E. <eg...@cc...> - 2001-08-11 05:58:24
|
I'm developing a framebuffer driver for embedded PowerPC where the framebuffer resides in system RAM. I'd like to follow what the arm branch does in their sa1100fb.c driver and do the following: (1) call alloc_pages(GFP_KERNEL|GFP_DMA, order) to get a chunk of ram (2) call free_page() repeatedly on the extra that I won't use (3) call mem_map_reserve() on all of the pages I am using (4) call memremap() to remap this to a high virtual address that is marked non-cacheable (5) poke around at this remapped area in my graphics code. I tried this, but am getting data TLB misses. Am I missing something? I'm running on a 2.4.2 derived kernel that's been patched by Montavista. Thanks so much, David Eger |