> + > +#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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- From: Tsutomu OWA <tsutomu.owa@toshiba.co.jp>
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- References:
- [patch 0/4] powerpc 2.6.21-rt1: fix build a breakage and some minor issues
- From: Tsutomu OWA <tsutomu.owa@toshiba.co.jp>
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- From: Thomas Gleixner <tglx@linutronix.de>
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- From: Tsutomu OWA <tsutomu.owa@toshiba.co.jp>
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- From: Arnd Bergmann <arnd@arndb.de>
- Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- From: Tsutomu OWA <tsutomu.owa@toshiba.co.jp>
- [patch 0/4] powerpc 2.6.21-rt1: fix build a breakage and some minor issues
- Prev by Date: Re: [PATCH v2] pcmcia: ppc64 needs 32-bit ioaddr_t
- Next by Date: Re: [PATCH 1/2] scalable rw_mutex
- Previous by thread: Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- Next by thread: Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size
- Index(es):
![]() |