Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp383512lqr; Wed, 5 Jun 2024 08:45:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDHWsd7TgPwMierNYNBHZuZPznQBLt8WAc5GFRAvQl5AvjV4EAe1fsbT8fgpEOLaP6w1ehKjFB7WSc7kXTreHrbgjDRXtFxhUH927G2Q== X-Google-Smtp-Source: AGHT+IGZD5bMzDkqnxAdMrg8vQTJHzj3ygkGVuC6oT0DAnexe8puaM6bT5PHUc9FZpx0sTzjDI08 X-Received: by 2002:a05:6820:82b:b0:5ba:7803:43ab with SMTP id 006d021491bc7-5ba78f691d0mr3493523eaf.3.1717602300480; Wed, 05 Jun 2024 08:45:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717602300; cv=pass; d=google.com; s=arc-20160816; b=Z1U2M95X9atvFc4W1p8NBzYFiLOKQ1kX5VIDZ2UUTY7niHLiJBLzvKXV213veR76GA Fp4KsNwndZsTxPBAz0rSqXd+QjmAI3n7b0GdRK0O69Tiiyaf2bapA56Y90/Pb4OHZos+ mFC0UGE3LW+UzFthSLwrk7MK/I666XA4epiANuDGhrkCS07NcVpS++rMoCg6s5hVTHeC IqwoAfgkvu4NfRkuvIfiCFUIHx0dWHp5TyDBb/sHHw50MB0oHwueK6jq24MWGNVfOeKM 0NCL/0uADo3D2iWyM35wnmTiwfcMBdwLo5zhroLxmGyh/+rf9PzW3V6sAhYiqiYuT+LA PD8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=BC+wHIAAkSMG5ikZu33sScLTYzucBodRNg3gYHDfmYw=; fh=doZWKIpYD+g+9etdgk4hislEFxnZTKtiljj/dO1KRxY=; b=izMrv/nQcIcRhbnaXzDZy6jPgi55YIOQV5yFTmosM9N1wQqZwdiIBFnr+/Np90fgif y4PIfzFHAK9EfO91rACNbyNKfMoMk7h1VdBfmucJSewyaD89dSqZYLyFFPqaMUHC3lXS q3XWmTUstqHXOOOwQJL8JO74J12oANsajB3ybFDsaM50VGt1ta2CTt+9jts3vrNY3L8r oBohy93G/3XNZtvQVwqJDc3Hu/4eSJhGnQ4m3wht/bHVMDr4ChWSMMXyDJsWIuCu1JMA 9qcBd62w7xpjqYsn9IVXEIkvZPMtGDxJ++R3+rsohknYyNLJ4sFhsbLJ0XDt26qCyiRm Vnpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=CPWEHlhR; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff259e890si46809091cf.639.2024.06.05.08.45.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 08:45:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=CPWEHlhR; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 37A911C2103C for ; Wed, 5 Jun 2024 15:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3047D13791C; Wed, 5 Jun 2024 15:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CPWEHlhR" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 192FF19D88E for ; Wed, 5 Jun 2024 15:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717602294; cv=none; b=pKzLGQHFFb86g4jbxfgFs1et5gvB0l5bLVpxL6O3zlXzbyRGbe9zO8NSblHLQndcIPxlxyYp105ufdCIDCC0+QsrEbXbVCs1Pk2KVZE5QMuIzl5jnOzLU/+Hh2oJRq6Tgj7l007TjxQdQ2eOZwTTU4yDRf4kbZ79KaClBddV6oY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717602294; c=relaxed/simple; bh=BVhfDmp7EMCJeUlCwY6gVCLaaetzqiVbZV7+bFTYkZA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=B3Y1LJWWhIbpR2CNiqmufSCWCB5EPQ5CstwN/JRGVnnMA2nCJ3b49R3OYncYV2erbdrOpwvzmyTjrMhQbhlFjVqIsrTCU/NVlbwLJImE91wvraQ8qg+nMuj2KmEKdIoZfdZlqH7bN5V1FaMf52raiNkOeJ6hJ9ic10zPIJF8omQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=CPWEHlhR; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-627f43bec13so117413147b3.0 for ; Wed, 05 Jun 2024 08:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717602292; x=1718207092; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=BC+wHIAAkSMG5ikZu33sScLTYzucBodRNg3gYHDfmYw=; b=CPWEHlhRI8V/sxjjwPIaEkOQE27LvBwn9waUbtgR7pzLSmLg5cDRVsf/jZx0E62zRC tRJWHKPT7UNo7Et5BXj95Q0UMCbutQDWfzVsHft2bw8JnO6rXQADKFXjW1pGZPMpNelA 440ULFGF9gjJsGpkIg5kP6QG3CH2p4wEzHgchU9t75Yy3xsyNKL6KGhtPDH2pmWutBCw wgLhOIACZEO7EqrqMMshnDUVxBnO1ESotLUt6PgsPJ1j7icWDDaxOtdwPzoux8X/vJYG Y0x/biAg/rM5B8JUjjpvB908L3MlqE6C2JU832zzGfq+wCiVMudk4kl081WlozbPK6Bv V9Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717602292; x=1718207092; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BC+wHIAAkSMG5ikZu33sScLTYzucBodRNg3gYHDfmYw=; b=njF3IaZ1/cdGDAm3VHV9M3xt0EcLSgOoIOBzMfR/Ax0LsqevzCyIm4yt479Zs8C2I8 LVuFv85oZq92qCURuIs8zIaWJZHh8Mumwr41+4wPyzLpleBpav2N0yV7PiMzTXEPubkU 8EcYvnkspQ1tusBNinsBzZlLSCFDMzbncMDQeS0Py2L9zcPCjiVxSC95zxmgivYrg/7d Q3bhGy7YA1SP5eu+gOpXxsd4MWIrYQqkDj+AHuMdt6VRir6U79pf1NhoNVPGQLPO/UD8 oxaMvp5jfZEYsktltSjCM8+hDW7e5u5Y63vu7rLoTdRe221+n0KNvSOhwbw1E6pWyOy/ QmzQ== X-Gm-Message-State: AOJu0YwtXmc0tQMiprx56SCKbRE4TPqrHqDCNY2WU1w/fivDeUg/A1zH WidCo+RIIaw7kH7aoaGLZXipy5hYSD35HsLEP0eD4pxX/+yGGVsxKo0JGgo7MX0MmK2g5jMbosJ K/w== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:85:b0:627:925c:cf31 with SMTP id 00721157ae682-62cbb58de20mr7360197b3.5.1717602292014; Wed, 05 Jun 2024 08:44:52 -0700 (PDT) Date: Wed, 5 Jun 2024 08:44:50 -0700 In-Reply-To: <20240528003521.979836-1-ankur.a.arora@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240528003521.979836-1-ankur.a.arora@oracle.com> Message-ID: Subject: Re: [PATCH v2 00/35] PREEMPT_AUTO: support lazy rescheduling From: Sean Christopherson To: Ankur Arora Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, rostedt@goodmis.org, mark.rutland@arm.com, juri.lelli@redhat.com, joel@joelfernandes.org, raghavendra.kt@amd.com, sshegde@linux.ibm.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com Content-Type: text/plain; charset="us-ascii" On Mon, May 27, 2024, Ankur Arora wrote: > Patches 1,2 > "sched/core: Move preempt_model_*() helpers from sched.h to preempt.h" > "sched/core: Drop spinlocks on contention iff kernel is preemptible" > condition spin_needbreak() on the dynamic preempt_model_*(). ... > Not really required but a useful bugfix for PREEMPT_DYNAMIC and PREEMPT_AUTO. > Sean Christopherson (2): > sched/core: Move preempt_model_*() helpers from sched.h to preempt.h > sched/core: Drop spinlocks on contention iff kernel is preemptible Peter and/or Thomas, would it be possible to get these applied to tip-tree sooner than later? They fix a real bug that affects KVM to varying degrees.