From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 240173EC2F4 for ; Mon, 27 Apr 2026 18:38:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777315133; cv=none; b=kAb9kMpn78FyyHZUORKwTFOGrbN/ig6MuT1xJcQ54tJGe72o7Q2oBQtj/Zv8kTTG6mR9lYBwrSr4TsEhDwnynStckzwX2GOCkG66DzXStDhLz4lMVFfr01k+FLce4/67gptuZS11psLzkc9RDXMG1i7c5m3mSYvE9p+WWlPdOgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777315133; c=relaxed/simple; bh=lKSh+dwsYQ/WDtyb2EIoplbEJvj/ndkewQhdGDEO8go=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=TfScR7ZnmPfUNyTgFMyn1in9YLUyQl6rhAgDEyLCqk5zKlA65/smnWHRGHLgDbZofUXsF25KqvMGZEzVCpkswO2E9gFf1BKUOrNdGWKbhLoe5+i9agknlTni8OtWaAlIwLnWJTNMdGsGEfKdc1zcfpGFfWQvq2N1Ztpp9tmMcZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jstultz.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hlg79oLj; arc=none smtp.client-ip=209.85.216.74 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--jstultz.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hlg79oLj" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-35fc22424d9so20365389a91.2 for ; Mon, 27 Apr 2026 11:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777315131; x=1777919931; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=wPnnhKdbpRNjo/rWJcAjFwRKqUkn1HafXjSaq6xCvXE=; b=hlg79oLj0QR+sUZQKFFUJh994h+LJ1HQ6D9ktbaiceabbWRrukMEOGEopj6XQZpgPv /youq2h1SDcuCOD0CZPXlDFpYT7ulin37AQywQUUfcfv62oJUpT7QQxhAsbWp6NAGXgr K1VJdBTTJxXqjgMKFGCZfOgSxB6HgnwxZr3HbCol+vwwNXPYZyYR8lw8rXxXPvO2wUdT Tgfrk5y1hAA0idvvimydc0xd/po7uwwYLYRPhrcS1WGyEgYaqIuVxkZbhCkbKiNvxFdg e2rbTK0u33fQOZ0iiTZi4TVX5bLU4eenAaMhFjtB2XSxqiYR4YyCVzReI2DYmRIO4ivg 4waQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777315131; x=1777919931; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wPnnhKdbpRNjo/rWJcAjFwRKqUkn1HafXjSaq6xCvXE=; b=YhgP+HYQvD0zfhb+4zkCSpxUMsPcq5CIZcE8ZsPMqfYHz8u0h+p2fzk+UJ/Bo2jjsg nU5+Er2y4tBS3ZZqXb7SGSt08HsyMxGOcpJq5l60HTCip0XVz+kv3+cCi5Ecfvhc5kIY YSugdut/ya9HzyBw274uvCA8hp7ye5oRBxe9MsxUN+r7+7K1nY7gNoQWZrIw1kk4AaZH e1Xo+BNz7PEX2va2iOL74+aWhWlU6HsWIbgl6TvUklAvqQX4muJNqOqdI6LmU3a9JUiv tZsHgZycu7M8ig/f+DmSY+objwsUPVT3go+UGqgLqgySdPBEnnULsj6Tuf0UNtPEAbs8 6uCw== X-Gm-Message-State: AOJu0YyTGPy8PqKYZwD+DDNTv/IR7q1tsujsDE6Sp1GuPYkLQ6xbsuG4 L3lIu7sca26lF94tRXqaYOXVUGF7Yg1ghS/7nKQgyjrntEIi3U5ifHeyjpgBWZ7MG/zWC3AJrbZ sDomghXs9qwDkjTjCPffrLTL3kscR+gWphXoCksg6+1V9OtwWKHCVOraUdDWl1oNNhqnyIOC6fh necd3dqmSpzwUkaQxGBp+qKvnL7YKn1mx4/M1RDiuyI2zogs7O X-Received: from pjbcf17.prod.google.com ([2002:a17:90a:ebd1:b0:35d:9018:737]) (user=jstultz job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:5404:b0:362:e7ea:244e with SMTP id 98e67ed59e1d1-36490cba3b7mr215786a91.16.1777315131140; Mon, 27 Apr 2026 11:38:51 -0700 (PDT) Date: Mon, 27 Apr 2026 18:38:39 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.54.0.545.g6539524ca2-goog Message-ID: <20260427183848.698551-1-jstultz@google.com> Subject: [PATCH 0/2] Proxy Execution fixes for v7.1-rc From: John Stultz To: LKML Cc: John Stultz , Vineeth Pillai , Sonam Sanju , Sean Christopherson , Kunwu Chan , Tejun Heo , Joel Fernandes , Qais Yousef , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Valentin Schneider , Steven Rostedt , Will Deacon , Waiman Long , Boqun Feng , "Paul E. McKenney" , Metin Kaya , Xuewen Yan , K Prateek Nayak , Thomas Gleixner , Daniel Lezcano , Suleiman Souhlal , kuyo chang , hupu , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Hey All, So in testing with the full Proxy Execution series, Vineeth Pillai managed to trip some interesting bugs which initially looked to be KVM or RCU related[1], which he later diagnosed as Proxy Execution related and created a useful test driver to reproduce. I found these same issues could be triggered with the upstream portions of Proxy Execution, so I wanted to send along these fixes for 7.1-rc Again, a huge thanks to Vineeth for uncovering these issues that have evaded all my stress testing so far! Thanks -john [1]: https://lore.kernel.org/lkml/20260320125633.2290675-1-vineeth@bitbyteword.org/ Cc: Vineeth Pillai Cc: Sonam Sanju Cc: Sean Christopherson Cc: Kunwu Chan Cc: Tejun Heo Cc: Joel Fernandes Cc: Qais Yousef Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot Cc: Dietmar Eggemann Cc: Valentin Schneider Cc: Steven Rostedt Cc: Will Deacon Cc: Waiman Long Cc: Boqun Feng Cc: "Paul E. McKenney" Cc: Metin Kaya Cc: Xuewen Yan Cc: K Prateek Nayak Cc: Thomas Gleixner Cc: Daniel Lezcano Cc: Suleiman Souhlal Cc: kuyo chang Cc: hupu Cc: kernel-team@android.com John Stultz (2): sched: proxy-exec: Close race causing workqueue work being delayed locking: mutex: Fix proxy-exec potentially deactivating tasks marked TASK_RUNNING kernel/locking/mutex.c | 1 + kernel/sched/core.c | 11 +++++++++++ 2 files changed, 12 insertions(+) -- 2.54.0.545.g6539524ca2-goog