Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5359700ybl; Tue, 14 Jan 2020 07:41:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwDq/30B7CHGk8c4Ez6vSK0+kG1IwlzAdHERDf4b0XBSsj7xdKowdQN4R43HxvVvKpqVh+P X-Received: by 2002:a05:6830:10a:: with SMTP id i10mr16617498otp.365.1579016509485; Tue, 14 Jan 2020 07:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579016509; cv=none; d=google.com; s=arc-20160816; b=vWSTQHi4yX1Cz8ZyGGOKZ0Pv0h4mcelmOamyGJxONNSlOAUn7Hv8E4kdt3b4PcUTis x0Uo8WT/b7OqvNS1aLWMRM1Ym7TJ2pp2PbIdrhaNQaiD7WODjMbzw1tQ8CMPxhYCpLdF duZrl1Vb1nBDqdcUjKUVFJ2Z4ddqoFxVASpzZ8um8By4mI/Pwt6gGj/p+8oKLK3jbPN0 yDdegRsHJASzR4rnScobNc0KfbuZxDGQIabyRrrlHh3crhZ6DpuIRQC4sj7qPl/9mBcV 3FqtT/acPNV95KplKlrofsghlmuBOQtKVeMBcUf6pafltM1Si2ZJhjFf2Zt7+TgLxUGE 5FlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=u8XC9ay451hJukBxPp4gptSvR5akp33o0GT26Nx+rN4=; b=K7U7PsChknZrqXFgrmUXckasNlkQXNGHgwf+0t8Ppt/oPqrQNG21t3Hy2SUIjm/19h oaF3nOUmWdImkpdEGN3z33ZbRmOQ3ZvF8Se4gI0w7lWaTqYKPIpkgfsnSDTg1UmT5Nmq PHX4z1oYfUuU4+MtRsJm7yFkTF8MJBedi8ZENL893VyUjt3bJ02lQU87GiTqta37ADts ++q2n2+SVWSSbQdh3Lo48T8vzKqa8hlVUKU42QfqANKv9cswaMRos/CPWPCXntIW8ICO mNGN5TUXEhow4PRDIT0/lyDyVPt+MVcu1gWvTGWxl2x//Acwmhbh0FZyYtJ/3r4YeFR3 yWqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=fQKMNEvO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si7405028oiy.102.2020.01.14.07.41.37; Tue, 14 Jan 2020 07:41:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=fQKMNEvO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728760AbgANPkn (ORCPT + 99 others); Tue, 14 Jan 2020 10:40:43 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39042 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbgANPkn (ORCPT ); Tue, 14 Jan 2020 10:40:43 -0500 Received: by mail-oi1-f194.google.com with SMTP id a67so12214588oib.6 for ; Tue, 14 Jan 2020 07:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u8XC9ay451hJukBxPp4gptSvR5akp33o0GT26Nx+rN4=; b=fQKMNEvOdLnsADksjSwSk8sRK5bp5aL4P/dfzdlnvRDMQ3qRzDbeLngRwBZEaQrOlj X4zhDwC9tSqko8r3mJs36SDOtRrGKqIllVXOjiTADvOj0sBT6AQssKY8wLHwuAkbSTfG YO69puHnqzXFJQumuUNxPOb2UpDOf8EaBAp8Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u8XC9ay451hJukBxPp4gptSvR5akp33o0GT26Nx+rN4=; b=MI0RpEZ71uIXBLAce6IeXcELUa4b22bRwTpab99nHe6LKoX5ZVegOPwrpcGPriZ+T7 g7/7mZ9N9Ib6lu6O2EJfHasN5VdA6G1xh1473tHFDIPatGB68+/WGK2OksU1IUBkv0mn NZIC/7cRy3cStuGTGsamQsuzxbB0LCE9Rfo5BnhPhq+JQc6d90aPVvuzCv4JCRQrrrD9 5Lozm+hfD1be+Oc4B4tygKHY3hYVMKrvLyxhtluvYFw3niJ+8Q6Yo/Frh9YdcjAtuLdI rOEFKXkN3uq9+K+q0xPGgnwFP3aRcxwu64nW1m8d1C1H5dRR50t4IaDbbiHrUXKRy8E6 nZOQ== X-Gm-Message-State: APjAAAVadoZPCyDPoHFgPV4y4N72RECrFJ8t5hURy3+I0MGDN3MlMcVc bbOb9ap+hDS8TxTjJIqODyRSF+Y2r3iwQX21aocCmQ== X-Received: by 2002:aca:ad11:: with SMTP id w17mr17844187oie.85.1579016442324; Tue, 14 Jan 2020 07:40:42 -0800 (PST) MIME-Version: 1.0 References: <5e3cea14-28d1-bf1e-cabe-fb5b48fdeadc@linux.intel.com> <3c3c56c1-b8dc-652c-535e-74f6dcf45560@linux.intel.com> In-Reply-To: <3c3c56c1-b8dc-652c-535e-74f6dcf45560@linux.intel.com> From: Vineeth Remanan Pillai Date: Tue, 14 Jan 2020 10:40:31 -0500 Message-ID: Subject: Re: [RFC PATCH v4 00/19] Core scheduling v4 To: Tim Chen Cc: Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , Dario Faggioli , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , Kees Cook , Greg Kerr , Phil Auld , Aaron Lu , Aubrey Li , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 13, 2020 at 8:12 PM Tim Chen wrote: > I also encountered kernel panic with the v4 code when taking cpu offline or online > when core scheduler is running. I've refreshed the previous patch, along > with 3 other patches to fix problems related to CPU online/offline. > > As a side effect of the fix, each core can now operate in core-scheduling > mode or non core-scheduling mode, depending on how many online SMT threads it has. > > Vineet, are you guys planning to refresh v4 and update it to v5? Aubrey posted > a port to the latest kernel earlier. > Thanks for the updated patch Tim. We have been testing with v4 rebased on 5.4.8 as RC kernels had given us trouble in the past. v5 is due soon and we are planning to release v5 when 5.5 comes out. As of now, v5 has your crash fixes and Aubrey's changes related to load balancing. We are investigating a performance issue with high overcommit io intensive workload and also we are trying to see if we can add synchronization during VMEXITs so that a guest vm cannot run run alongside with host kernel. We also need to think about the userland interface for corescheduling in preparation for upstreaming work. Does it make sense to wait until 5.5 release for v5 considering the above details? Thanks, Vineeth