Hello, On Fri, Nov 10, 2017 at 11:31:50AM -0800, Dave Hansen wrote: > Hugh Dickins also points out that PCIDs really have two distinct > use-cases in the context of KAISER. The first way they can be used I don't see why you try to retain such a minor optimization for newer Intel chips when at the same you prevent KAISER to run with good performance on older Intel chips like SandyBridge/IvyBridge which would create a major performance regression for those two. I'd prefer if you reverse the PCID feature of v4.14 when KASIER is enabled (at build time would be enough initially), and you use just two asids to only accelerate enter/exit kernel and you flush the whole TLB over mm switch like Hugh suggested. It may not even be worth to flush over cr4, as you've only two asids to deal with anyway. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>