We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce27374 commit dbd68d8Copy full SHA for dbd68d8
arch/x86/mm/tlb.c
@@ -263,8 +263,6 @@ void native_flush_tlb_others(const struct cpumask *cpumask,
263
{
264
struct flush_tlb_info info;
265
266
- if (end == 0)
267
- end = start + PAGE_SIZE;
268
info.flush_mm = mm;
269
info.flush_start = start;
270
info.flush_end = end;
@@ -378,7 +376,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long start)
378
376
}
379
377
380
if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids)
381
- flush_tlb_others(mm_cpumask(mm), mm, start, 0UL);
+ flush_tlb_others(mm_cpumask(mm), mm, start, start + PAGE_SIZE);
382
383
preempt_enable();
384
0 commit comments