X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Ftlbflush.h;h=4a9c20ea9b105d9523bb712e0b9a30d93aa30047;hb=dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9;hp=505b0cf906ded2658ff91da72b9d51e54e80adcc;hpb=a670fcb43f01a67ef56176afc76e5d43d128b25c;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-x86_64/tlbflush.h b/include/asm-x86_64/tlbflush.h index 505b0cf906d..4a9c20ea9b1 100644 --- a/include/asm-x86_64/tlbflush.h +++ b/include/asm-x86_64/tlbflush.h @@ -109,6 +109,10 @@ static inline void flush_tlb_range(struct vm_area_struct * vma, unsigned long st #define TLBSTATE_OK 1 #define TLBSTATE_LAZY 2 +/* Roughly an IPI every 20MB with 4k pages for freeing page table + ranges. Cost is about 42k of memory for each CPU. */ +#define ARCH_FREE_PTE_NR 5350 + #endif #define flush_tlb_kernel_range(start, end) flush_tlb_all()