lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.071 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site