X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-generic%2Ftlb.h;h=c2931499b44cd0be264e01d2a37b7bf46b79c4fb;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=1358c5136889e66a892b244dc3534e27b2c1098f;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h index 1358c5136..c2931499b 100644 --- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -15,6 +15,8 @@ #include #include +#include +#include #include /* @@ -91,7 +93,8 @@ tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end) if (rss < freed) freed = rss; - mm->rss = rss - freed; + // mm->rss = rss - freed; + vx_rsspages_sub(mm, freed); tlb_flush_mmu(tlb, start, end); /* keep the page table cache within bounds */ @@ -146,4 +149,6 @@ static inline void tlb_remove_page(struct mmu_gather *tlb, struct page *page) __pmd_free_tlb(tlb, pmdp); \ } while (0) +#define tlb_migrate_finish(mm) do {} while (0) + #endif /* _ASM_GENERIC__TLB_H */