x86/mm/tlb: Add freed_tables element to flush_tlb_info
Pass the information on to native_flush_tlb_others. No functional changes. Cc: npiggin@gmail.com Cc: mingo@kernel.org Cc: will.deacon@arm.com Cc: songliubraving@fb.com Cc: kernel-team@fb.com Cc: hpa@zytor.com Cc: luto@kernel.org Signed-off-by: Rik van Riel <riel@surriel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180926035844.1420-7-riel@surriel.com
This commit is contained in:
Родитель
016c4d92cd
Коммит
97807813fe
|
@ -532,6 +532,7 @@ struct flush_tlb_info {
|
||||||
unsigned long end;
|
unsigned long end;
|
||||||
u64 new_tlb_gen;
|
u64 new_tlb_gen;
|
||||||
unsigned int stride_shift;
|
unsigned int stride_shift;
|
||||||
|
bool freed_tables;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define local_flush_tlb() __flush_tlb()
|
#define local_flush_tlb() __flush_tlb()
|
||||||
|
|
|
@ -617,6 +617,7 @@ void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
|
||||||
struct flush_tlb_info info __aligned(SMP_CACHE_BYTES) = {
|
struct flush_tlb_info info __aligned(SMP_CACHE_BYTES) = {
|
||||||
.mm = mm,
|
.mm = mm,
|
||||||
.stride_shift = stride_shift,
|
.stride_shift = stride_shift,
|
||||||
|
.freed_tables = freed_tables,
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu = get_cpu();
|
cpu = get_cpu();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче