Messages in this thread | | | Date | Wed, 10 Sep 2003 09:54:20 +1200 | From | Dmytro Bablinyuk <> | Subject | Re: Problem with remap_page_range |
| |
> > >> if (remap_page_range(vma->vm_start, >> DSP_ADDR, >> size, >> vma->vm_page_prot >> )) >> >> > >Your remap call isn't adding _PAGE_NO_CACHE and _PAGE_GUARDED flags >like ioremap_nocache()/ioremap() do on PPC. You'll get bad results >because of the ordering and cache issues resulting from not using >these PTE flags. In 2.6, these can be added using pgprot_noncached() >that is defined per-arch. > > > Thank you Matt,
Coud you please give me en example on how to add these flags to remap in kernel 2.4.21 (powerpc). It seems I could not find these flags available in my kernel.
Thank you very much
- 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/
| |