Go to the documentation of this file.
17 #ifndef _ASM_TILE_HOMECACHE_H
18 #define _ASM_TILE_HOMECACHE_H
32 #define PAGE_HOME_UNCACHED -1
39 #define PAGE_HOME_IMMUTABLE -2
45 #define PAGE_HOME_INCOHERENT -3
47 #if CHIP_HAS_CBOX_HOME_MAP()
49 #define PAGE_HOME_HASH -4
53 #define PAGE_HOME_UNKNOWN -5
56 #define PAGE_HOME_HERE -6
59 extern void flush_remote(
unsigned long cache_pfn,
unsigned long cache_length,
60 const struct cpumask *cache_cpumask,
62 unsigned long tlb_pgsize,
63 const struct cpumask *tlb_cpumask,
102 unsigned int order,
int home);
104 unsigned int order,
int home);
105 #define homecache_alloc_page(gfp_mask, home) \
106 homecache_alloc_pages(gfp_mask, 0, home)
116 #define __homecache_free_page(page) __homecache_free_pages((page), 0)
117 #define homecache_free_page(page) homecache_free_pages((page), 0)
126 #define homecache_migrate_kthread() do {} while (0)
128 #define homecache_kpte_lock() 0
129 #define homecache_kpte_unlock(flags) do {} while (0)