From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.70 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796044131; b=5bxBxFIjAYaVayoOioJlZhd9UsfbcH47lzbutxGVRD3wxxNhCI7qWsNPY1YpbXNK2cKJ lsheZgLa5yuJssskfnryqJCCk4ZoAxQeFTEDqfDjv91dUkG06lGpt93op+Os47GRu6yhb Ac0/olPZQqWGH9UtU6OyESlOjr5aCUP2jqW68BODa5kW/7k9VLn1L/HsevZPZfJbnbV5e DKwgDNvHODLXyN7spMZ5WT3eds6fsM+dV0uedGllhjjTRd3FH7WALqgbHxBfT49owz585 sXyGr+9VLwfgyIRQIKGKXjMmQK72xEnY9TPtBvEJqux2rwyZmItUDBYPtOQUh3cMmlQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796044131; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=GTTrYi9DRdnmti4KI6xO9x96+iszz06bQ8oB1DNdlmM=; b=DWLUCYmcgVz5l8NLZcjEl3XVsODknE9PpECQ6iduXwTPu82wDw7mjyAtAuKr02n7qZw7 t/lhH6LarwUDoxtLvaydbpPiAnzYZkNNCJ0uk1NNTm+4FNJ14JKjsJ6iVxDLF1mM7Yw/r HNjJN0+pth+0Oy2nw9hOVmxfzMCiAzjhq9WeBkrMvkmAsC6exf55MqEGhtNF2mmFtevo+ 9iJj+fHY4f73ZhZ7ngZ1RNOwyp8pvGXTdtsLanlBti69isnHBiNQ2ozpnyUwMhDP08RkC +l/qyvhTiNQrj5QKvKyECoXAzT/s7ZEoHVSklTEItwuf4+KGuLJ/O/TxoPOPHfF5A6Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--jpiecuch.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=OB+zGnoq; arc=none smtp.remote-ip=209.85.128.70 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C425B606A32F for ; Mon, 30 Nov 2026 13:08:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C425B606A32F 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--jpiecuch.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=OB+zGnoq Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4bb6517ed8bso15113315e9.0 for ; Mon, 30 Nov 2026 05:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796044129; x=1796648929; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=GTTrYi9DRdnmti4KI6xO9x96+iszz06bQ8oB1DNdlmM=; b=OB+zGnoqc6L4FanAPBEgyuNjm4I/O7s9nkTYdgMq/xWBYSsaiD0xuJTr5Od5zB5Mh6 KP35su/n6YGm0HTldDTxtQhogI39C47hv0jPMi3llox8v3WxuUnf2Y0gV5aCCbTbBfbH N7tpmK0709e+/bEP+rvKn08gSXa0w2YBzCu1POFNFo+OxTDJzUZeqgGpKvSRpbdOzndN PUCJL+sN6WTF18ihlQy7WzpTObZHEhvzaha1p0sWDR/kvCKGmnLwZzIAuxutXaxItOqF FwL81dtahARuT637iQGdo9dzx9AeHVljdMiW6lV6r8o72Zis2DbFjEORQtoEl0GUdkls UdjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796044129; x=1796648929; h=content-type: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:content-type; bh=GTTrYi9DRdnmti4KI6xO9x96+iszz06bQ8oB1DNdlmM=; b=O2UuuXiA6tSHftishtcuNg+Cz1McFYEE17SPPBRSsb0yVnJq1KKXKQy1UaEhIb+oPX e39RBAYuvG7lWsO5lioRCJtt2wYNFrGSe60O8WZCC+ju2PsYRn8PqvXXXGSExXhqZtsy pr5/vaAx/7jfcaQgmuUGY8XUQdxCw56IKmabspMBsoqwLJwWAEVPJthpSJg8YLs41Mo5 6X5oWLREZFldw+EgLSRFvnpG/PG4MkrHhns94KdZN7wH6ch4SVnp35Fo+J1Pc2s0ufWM kbygc7vpg5aE7PEFIBCF11PCftymAfkKLv4LOEAYUlnOVLl2pcyPCTVgklhytCoA1E+R 2XAg== X-Forwarded-Encrypted: i=1; AL+hErEG5qbIlmzURP+CLx2qJ/Mip4g4ZTI4uZrHOk2y1IE2NhA/VvQ/u9eQL6qGuY+8b9acxlEVkj4J84qI7Nk=@vger.kernel.org X-Gm-Message-State: APuU4Z8VPSGbq6F8XuX3n+eG14hUJae9IND9UrbvWdT1UuZqVzRuvCYW pB+CkbfW4jATREgpJ6EhVHg0YAJHoS0HrfM+o9UEGpkq898wwo3gWllCRWobaX7P7ULMGNHDQ7A JvwfUJfgFL0mIIQ== X-Received: from wrup12.prod.google.com ([2002:a5d:638c:0:b0:4b8:ac9c:7ce7]) (user=jpiecuch job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:3113:b0:4bb:5f45:c97f with SMTP id 5b1f17b1804b1-4bb88816b2bmr717419845e9.27.1796044129027; Mon, 30 Nov 2026 05:08:49 -0800 (PST) Date: Mon, 30 Nov 2026 13:08:48 +0000 In-Reply-To: <63a74522c0ac114cc14846a3880424e3@kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261123171637.3859594-1-jpiecuch@google.com> <20261123171637.3859594-2-jpiecuch@google.com> <63a74522c0ac114cc14846a3880424e3@kernel.org> X-Mailer: git-send-email 2.56.1.839.g22a8290db9-goog Message-ID: <20261130130832.3442351-1-jpiecuch@google.com> Subject: Re: [PATCH RESEND v2 1/2] sched/core: Preserve WF_RQ_SELECTED across queued wakeups From: Kuba Piecuch To: Tejun Heo Cc: Peter Zijlstra , Ingo Molnar , David Vernet , Andrea Righi , Changwoo Min , sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 24 Nov 2026 14:46, Tejun Heo wrote: > Hello, Peter. > > On Mon, Nov 23, 2026 at 05:18:01PM +0000, Kuba Piecuch wrote: > ... >> Fix case 2 by preserving WF_RQ_SELECTED across the wakelist in the same >> way WF_MIGRATED is, so that ttwu_do_activate() passes >> ENQUEUE_RQ_SELECTED to activate_task(). Case 1 is unaffected. > > Like Tao's ENQUEUE_RQ_SELECTED patch, this one only affects sched_ext. Can > I take it through sched_ext too? > > Thanks. Sent v3 which addresses Sashiko's findings on the selftest and is based on sched_ext/for-7.4-fixes, let's continue the discussion there: https://lore.kernel.org/all/20261130130447.2225810-1-jpiecuch@google.com/ Thanks, Kuba