ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
@ 2016-07-08 22:31 Jiri Kosina
  2016-07-08 23:19 ` Rafael J. Wysocki
  2016-07-10 23:55 ` Theodore Ts'o
  0 siblings, 2 replies; 5+ messages in thread
From: Jiri Kosina @ 2016-07-08 22:31 UTC (permalink / raw)
  To: ksummit-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
  2016-07-08 22:31 [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2 Jiri Kosina
@ 2016-07-08 23:19 ` Rafael J. Wysocki
  2016-07-09  6:19   ` Julia Lawall
  2016-07-10 23:55 ` Theodore Ts'o
  1 sibling, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2016-07-08 23:19 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: ksummit-discuss

On Saturday, July 09, 2016 12:31:33 AM Jiri Kosina wrote:
> 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.

Yes, please.

Let me know if/how I can help.

> 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.

I guess that first needs to be "core" so it can become "tech" later when
everybody is on the same page in general.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
  2016-07-08 23:19 ` Rafael J. Wysocki
@ 2016-07-09  6:19   ` Julia Lawall
  2016-07-09 12:44     ` Shuah Khan
  0 siblings, 1 reply; 5+ messages in thread
From: Julia Lawall @ 2016-07-09  6:19 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: ksummit-discuss



On Sat, 9 Jul 2016, Rafael J. Wysocki wrote:

> On Saturday, July 09, 2016 12:31:33 AM Jiri Kosina wrote:
> > 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.
>
> Yes, please.
>
> Let me know if/how I can help.

Likewise.

julia

>
> > 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.
>
> I guess that first needs to be "core" so it can become "tech" later when
> everybody is on the same page in general.
>
> Thanks,
> Rafael
>
> _______________________________________________
> Ksummit-discuss mailing list
> Ksummit-discuss@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
  2016-07-09  6:19   ` Julia Lawall
@ 2016-07-09 12:44     ` Shuah Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2016-07-09 12:44 UTC (permalink / raw)
  To: Julia Lawall; +Cc: ksummit-discuss

On Sat, Jul 9, 2016 at 12:19 AM, Julia Lawall <julia.lawall@lip6.fr> wrote:
>
>
> On Sat, 9 Jul 2016, Rafael J. Wysocki wrote:
>
>> On Saturday, July 09, 2016 12:31:33 AM Jiri Kosina wrote:
>> > 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.
>>
>> Yes, please.
>>
>> Let me know if/how I can help.
>
> Likewise.
>

Yes. Count me in to help out on this.

-- Shuah

>
>>
>> > 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.
>>
>> I guess that first needs to be "core" so it can become "tech" later when
>> everybody is on the same page in general.
>>
>> Thanks,
>> Rafael
>>
>> _______________________________________________
>> Ksummit-discuss mailing list
>> Ksummit-discuss@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss
>>
> _______________________________________________
> Ksummit-discuss mailing list
> Ksummit-discuss@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2
  2016-07-08 22:31 [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2 Jiri Kosina
  2016-07-08 23:19 ` Rafael J. Wysocki
@ 2016-07-10 23:55 ` Theodore Ts'o
  1 sibling, 0 replies; 5+ messages in thread
From: Theodore Ts'o @ 2016-07-10 23:55 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: ksummit-discuss

On Sat, Jul 09, 2016 at 12:31:33AM +0200, Jiri Kosina wrote:
> 
> 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.

It doesn't have to be either/or.  One possibility is after doing a
discussion amonst the core developers about how to do the tree-wide
cleanup, you could also do a presentation during the tech sessions
about how not to screw up new users of the freezer.

Although we probably don't have the resources to get a profession
video made of tech talk session for which the goal is broad
dissemination of information (although if some company wants to
sponsor such a thing, or if someone wants to volunteer to do the video
taping where the presenter has given consent, please contact the me or
the program committee), I suspect getting an audio recording, which
plus the slides could easily get turned into something that could be
uploaded to You Tube, wouldn't be that hard.

					- Ted

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-10 23:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-08 22:31 [Ksummit-discuss] [CORE TOPIC] cleaning up kthread freezer hell, part 2 Jiri Kosina
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox