I just noticed this change in mm/memory.c.  This is one of the things that 
prevents an ARM-patched tree being compiled for other architectures at the 
moment (since pte_nocache seems only to exist in asm-arm).

Can anybody explain whether this is actually necessary, and if so why?

        unsigned long end = address + size;
        pte_t zero_pte;
 
-       zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot));
+       zero_pte = pte_nocache(pte_wrprotect(mk_pte(ZERO_PAGE, prot)));
        dir = pgd_offset(current->mm, address);
        flush_cache_range(current->mm, beg, end);
        while (address < end) {

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to