From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbdK3S42 (ORCPT ); Thu, 30 Nov 2017 13:56:28 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:24902 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbdK3S40 (ORCPT ); Thu, 30 Nov 2017 13:56:26 -0500 X-IronPort-AV: E=Sophos;i="5.45,341,1508803200"; d="scan'208";a="321605621" Date: Thu, 30 Nov 2017 10:56:04 -0800 From: Eduardo Valentin To: Dave Hansen , , "Andy Lutomirski" , Ingo Molnar , "Eduardo Valentin" , Peter Zijlstra , CC: Thomas Gleixner , , Borislav Petkov , Brian Gerst , "Denys Vlasenko" , "H. Peter Anvin" , "Josh Poimboeuf" , Linus Torvalds , Rik van Riel , , , , , , , , Subject: [RESEND] Kaiser backport to stable v4.9.y Message-ID: <20171130185604.GA18265@u40b0340c692b58f6553c.ant.amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, (correcting stable tree mailing list address and add GregKH) I have created this branch with the KAISER patches and dependencies to v4.9.y. This is massive, I know. But I attempted to include all dependencies I saw in the mailing list discussions. The backport is done from the tip/WIP.x86/mm branch. The list of patches include: a. Several patch dependencies that change x86 arch code so following applies. b. Andy Lutomirski work to refactor the x86 entry code. c. Andy Lutomirski work to do the x86 trampolim. d. Dave Handen's work to incorporate the KAISER feature on x86. e. Several fixes/improvements on KAISER by tglx and PeterZ. Branch is here: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux.git/log/?h=backports/v4.9.y/x86/kaiser Right now, I am still validating it under different scenarios. First shot on the same lseek1 [1] micro bench, a see the Kernel being ~4x slower: -> Without KAISER: ~14Mlseek/s. -> With KAISER: ~3.6Mlseek/s. If anybody is interested in testing please send feedback. Also, if somebody else is working on a minimalist backport of the feature to v4.9 or other stable kernels, let me know. [1] - https://github.com/antonblanchard/will-it-scale/blob/master/tests/lseek1.c/ -- All the best, Eduardo Valentin