The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Andrea Righi <arighi@nvidia.com>,
	LKML <linux-kernel@vger.kernel.org>,
	sched-ext@lists.linux.dev, David Vernet <void@manifault.com>,
	Changwoo Min <changwoo@igalia.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>,
	Zicheng Qu <quzicheng@huawei.com>
Subject: Re: [RANT][PATCH] sched_ext: Fix stale fair load weight after renice under SCX
Date: Fri, 04 Dec 2026 07:27:31 -1000	[thread overview]
Message-ID: <94386bdc677ad17b19cb824584138dd7@kernel.org> (raw)
In-Reply-To: <20261204121618.2f8f71ad@gandalf.local.home>

Hello,

On Fri, Dec 04, 2026 at 12:16:18PM -0500, Steven Rostedt wrote:
> Thanks, I added that, but that still requires me to pass it a message id,
> as I don't believe it can browse the list.

FWIW, this is what my agent does for email / lkml accesses:

  https://github.com/htejun/kernel-agent-workflows/blob/main/mail/lore-thread.md
  https://github.com/htejun/kernel-agent-workflows/blob/main/mail/setup.md
  https://github.com/htejun/kernel-agent-workflows/blob/main/mailbox/inbox.md

The first one fetches threads with b4. The second has "lei q" for searching
lore without a message id, and the last one is for reading a local mailbox
instead. When lore serves the JS challenge to a web fetch, it falls back to
a headless browser which runs the challenge.

The headless browser is the distro's chromium driven by a small node
script, with puppeteer-core, puppeteer-extra and
puppeteer-extra-plugin-stealth installed from npm. The gist of it is:

  const puppeteer = require("puppeteer-extra");
  puppeteer.use(require("puppeteer-extra-plugin-stealth")());

  (async () => {
  	const browser = await puppeteer.launch({
  		headless: "new",
  		executablePath: "/usr/bin/chromium",
  	});
  	const page = await browser.newPage();
  	await page.goto(process.argv[2], { waitUntil: "networkidle0" });
  	/* wait for the Anubis challenge page to go away */
  	await page.waitForFunction(() => !document.title.includes("not a bot"));
  	console.log(await page.evaluate(() => document.body.innerText));
  	await browser.close();
  })();

That gets through to lore's search pages too, e.g.
https://lore.kernel.org/all/?q=s%3A%22stale+fair+load+weight%22, so the
agent can look for earlier discussions without a message id.

Thanks.

--
tejun

  reply	other threads:[~2026-12-04 17:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 14:35 [RANT][PATCH] sched_ext: Fix stale fair load weight after renice under SCX Steven Rostedt
2026-12-04 15:19 ` Tejun Heo
2026-12-04 15:40 ` Andrea Righi
2026-12-04 15:44   ` Tejun Heo
2026-12-04 15:59   ` Steven Rostedt
2026-12-04 16:33     ` Andrea Righi
2026-12-04 16:53       ` Steven Rostedt
2026-12-04 17:04         ` Andrea Righi
2026-12-04 17:16           ` Steven Rostedt
2026-12-04 17:27             ` Tejun Heo [this message]
2026-12-04 17:38               ` Sasha Levin
2026-12-04 17:29             ` Andrea Righi
2026-12-04 17:59               ` Steven Rostedt
2026-12-04 17:36           ` Sasha Levin
2026-12-04 16:19   ` Peter Zijlstra
2026-12-04 18:06 ` Linus Torvalds
2026-12-04 18:47   ` Steven Rostedt
2026-12-04 18:57     ` Linus Torvalds
2026-12-04 19:29       ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94386bdc677ad17b19cb824584138dd7@kernel.org \
    --to=tj@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=changwoo@igalia.com \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=quzicheng@huawei.com \
    --cc=rostedt@goodmis.org \
    --cc=sashal@kernel.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=void@manifault.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox