From: Jiri Kosina <jikos@kernel.org>
To: ksummit-discuss@lists.linuxfoundation.org
Subject: [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
Date: Sat, 9 Jul 2016 00:31:33 +0200 (CEST) [thread overview]
Message-ID: <alpine.LNX.2.00.1607082030470.24757@cbobk.fhfr.pm> (raw)
On last year's kernel summit, I've been talking about why I consider
kthread freezer harmful and why it ultimately should be removed. LWN
coverage of that session is here:
https://lwn.net/Articles/662703/
During the past year, I've invested a bit of a time into actually looking
deeper into the dark corners of kernel sources to see how kthread freezer
is used throughout the codebase, with the intent to ultimately fix all the
buggy places. While doing that, I was petrified by two facts:
- there are a *lot* of places where kthread freezer is used in a
completely buggy (or useless) way
- one of the obstacles fixing it are maintainers who actually don't
understand the purpose of the kthread freezer (the usual pattern is that
the main kthread loop has been copy/pasted from different code, which
already used freezer, and so disease spreads)
Therefore I'd propose a v2 of the last year's session; first summarizing
the horrible experience I've done on this kthread freezer journey, and as
a followup, try to (re-)explain the issue and the way I think it should be
resolved.
The idea is to get as much coverage among high-profile maintainers as
possible, in a hope that this will result in ultimate tree-wide cleanup of
the current mess. That's why I propose this as a core topic rather than
tech topic, although it might sound like a rather bordeline one.
Thanks,
--
Jiri Kosina
SUSE Labs
next reply other threads:[~2016-07-08 22:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 22:31 Jiri Kosina [this message]
2016-07-08 23:19 ` Rafael J. Wysocki
2016-07-09 6:19 ` Julia Lawall
2016-07-09 12:44 ` Shuah Khan
2016-07-10 23:55 ` Theodore Ts'o
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=alpine.LNX.2.00.1607082030470.24757@cbobk.fhfr.pm \
--to=jikos@kernel.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
/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