Re: [PATCH] flush icache before set_pte() take 5.

2007-07-30 Thread KAMEZAWA Hiroyuki
On Mon, 30 Jul 2007 16:30:50 +0200 Zoltan Menyhart <[EMAIL PROTECTED]> wrote: > KAMEZAWA Hiroyuki wrote: > > > Considerations: > > - I can add CONFIG_MONTECITO if necessary. But it will be confusing, I > > think. > > What about this trick below? > > identify_cpu() finds out the "c->family".

Re: [PATCH] flush icache before set_pte() take 5. [1/2] cache flush in migration

2007-07-30 Thread Christoph Lameter
On Sat, 28 Jul 2007, KAMEZAWA Hiroyuki wrote: > In migration, a new page should be cache flushed before set_pte() > in some archs which have virtually-tagged cache.. > > V4 -> V5: >* changed flush_icache_page to flush_cache_page. > > Signed-Off-By: KAMEZAWA Hiruyoki <[EMAIL PROTECTED]> Acke

Re: [PATCH] flush icache before set_pte() take 5.

2007-07-30 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: Considerations: - I can add CONFIG_MONTECITO if necessary. But it will be confusing, I think. What about this trick below? identify_cpu() finds out the "c->family". If any of the CPUs has c->family==32 (and the future versions...) then set a global flag. And: stati

[PATCH] flush icache before set_pte() take 5. [2/2] sync icache dcache for ia64

2007-07-27 Thread KAMEZAWA Hiroyuki
flush icache for ia64 take4. This patch is against 2.6.23-rc1. Changes V4 -> V5: - removed sync_icache_dcache from do_wp_page() page reuse case. Changes v3 -> v4: - avoid implementing flush_(i)cache_pages(). - added sync_icache_dcache() call. - change Documentation/cachetlb.txt Current i

[PATCH] flush icache before set_pte() take 5. [1/2] cache flush in migration

2007-07-27 Thread KAMEZAWA Hiroyuki
In migration, a new page should be cache flushed before set_pte() in some archs which have virtually-tagged cache.. V4 -> V5: * changed flush_icache_page to flush_cache_page. Signed-Off-By: KAMEZAWA Hiruyoki <[EMAIL PROTECTED]> --- mm/migrate.c |1 + 1 file changed, 1 insertion(+) Index

[PATCH] flush icache before set_pte() take 5.

2007-07-27 Thread KAMEZAWA Hiroyuki
Appliled comments on take 4. patches are against 2.6.23-rc1. Changes: - changes flush_icache_page to be flush_cache_page() in remove_migration_pte(). - removed sync_icache_dcahe() in page reuse case of do_wp_page(). Considerations: - I can add CONFIG_MONTECITO if necessary. But it will be