SEARCH  

NEWS

2010.10.06:11:36:28
Spotkania Netcamp wracają już 14 października
Fundacja Netcamp zaprasza na pierwsze po wakacjach spotkanie branży internetowej, które odbędzie się w czwartek 14 października 2010 r. o godzinie 18:00 w Klubie 13 Muz w Szczecinie. Gościem specjalnym będzie startup Zubibu - laureat nagrody publiczności konkursu Start with e-nnovation, który opowie o mobilnych sklepach internetowych.

 

messageID:558960007543
author:Russell King ARM Li
title:Cachepolicy question
Hi All, I have been trying to change the cache policy to write allocate for both user and kernel memory (i.e normal memory). I changed the cachepolicy variable in arch/arm/mm/mmu.c, but seems like it affects only MT_MEMORY i.e DOMAIN_KERNEL What changes would be required to change cache policy for DOMAIN_USER also to write-alloc or is there any reason it is not recommended. I also found the below comment in mmu.c file, does this mean user memory is always marked write-through. 380 #ifndef CONFIG_SMP 381 /* 382 * Only use write-through for non-SMP systems 383 */ 384 if (cpu_arch = CPU_ARCH_ARMv5 && cachepolicy CPOLICY_WRITETHROUGH) 385 vecs_pgprot = cache_policies[CPOLICY_WRITETHROUGH].pte; 386 #endif Thanks Hemanth ------------------------------------------------------------------- List admin: rel="nofollow" lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: rel="nofollow" www.arm.linux.org.uk/mailinglists/faq.php www.arm.linux.org.uk/mailinglists/faq.php Etiquette: rel="nofollow" www.arm.linux.org.uk/mailinglists/etiquette.php www.arm.linux.org.uk/mailinglists/etiquette.php
Index