> +
> +#ifdef CONFIG_PREEMPT_RT
> + /*
> + * Since flushing tlb needs expensive hypervisor call(s) on celleb,
> + * always flush it on RT to reduce scheduling latency.
> + */
> + if (machine_is(celleb)) {
> + flush_tlb_pending();
> + return;
> + }
> +#endif /* CONFIG_PREEMPT_RT */
> +
> if (i >= PPC64_TLB_BATCH_NR)
> flush_tlb_pending();
> }
Any reason to do that only on celleb ? :-)
Also, we might want to still batch, though in smaller amount. Have you measured
the time it takes ? We might want to modulate the amount based on wether we
are using native hash tables or an hypervisor.
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]