diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 21:16:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:37 -0400 |
commit | 4d6ddfa9242bc3d27fb0f7248f6fdee0299c731f (patch) | |
tree | da5b753df64e7163a35487005e50a3b90b0b0b9b /include/asm-ia64 | |
parent | 15a23ffa2fc91cebdac44d4aee994f59d5c28dc0 (diff) |
[PATCH] mm: tlb_is_full_mm was obscure
tlb_is_full_mm? What does that mean? The TLB is full? No, it means that the
mm's last user has gone and the whole mm is being torn down. And it's an
inline function because sparc64 uses a different (slightly better)
"tlb_frozen" name for the flag others call "fullmm".
And now the ptep_get_and_clear_full macro used in zap_pte_range refers
directly to tlb->fullmm, which would be wrong for sparc64. Rather than
correct that, I'd prefer to scrap tlb_is_full_mm altogether, and change
sparc64 to just use the same poor name as everyone else - is that okay?
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/tlb.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-ia64/tlb.h b/include/asm-ia64/tlb.h index 1b82299d7c1e..0bbd79f6a793 100644 --- a/include/asm-ia64/tlb.h +++ b/include/asm-ia64/tlb.h | |||
@@ -178,12 +178,6 @@ tlb_finish_mmu (struct mmu_gather *tlb, unsigned long start, unsigned long end) | |||
178 | put_cpu_var(mmu_gathers); | 178 | put_cpu_var(mmu_gathers); |
179 | } | 179 | } |
180 | 180 | ||
181 | static inline unsigned int | ||
182 | tlb_is_full_mm(struct mmu_gather *tlb) | ||
183 | { | ||
184 | return tlb->fullmm; | ||
185 | } | ||
186 | |||
187 | /* | 181 | /* |
188 | * Logically, this routine frees PAGE. On MP machines, the actual freeing of the page | 182 | * Logically, this routine frees PAGE. On MP machines, the actual freeing of the page |
189 | * must be delayed until after the TLB has been flushed (see comments at the beginning of | 183 | * must be delayed until after the TLB has been flushed (see comments at the beginning of |