All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Len Brown <lenb@kernel.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	Len Brown <len.brown@intel.com>
Subject: Re: [PATCH 2/5] x86: remove idle_notifier
Date: Thu, 8 Dec 2016 23:05:48 +0100	[thread overview]
Message-ID: <20161208220548.GC12472@amd> (raw)
In-Reply-To: <alpine.DEB.2.20.1612081014280.3400@nanos>

[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]

On Thu 2016-12-08 10:18:13, Thomas Gleixner wrote:
> On Wed, 7 Dec 2016, Pavel Machek wrote:
> > On Wed 2016-12-07 12:46:12, Thomas Gleixner wrote:
> > > On Tue, 6 Dec 2016, Pavel Machek wrote:
> > > > > From: Len Brown <len.brown@intel.com>
> > > > > 
> > > > > Upon removal of the i7300_idle driver, the idle_notifer is unused.
> > > > 
> > > > Actually... do we want to keep this this one? There's "cpu is loaded"
> > > > led trigger, which is implemented on arm but not on x86.
> > > > 
> > > > I tried to patch process.c, but this would be easier (and does not
> > > > require new hooks).
> > > > 
> > > > Does that make sense?
> > > 
> > > No. Notifiers are crap.
> > > 
> > > I assume this LED thing is just for entertainment purposes as I cannot
> > > figure out why it would be useful. ARM has it does not qualify as useful.
> > 
> > Well, on low-speed systems, that led is actually quite important. You
> > know if your keypress was registered, and CPU is just slow, or if you
> > need to press it again.
> 
> I'm dealing with low-speed systems for 20 years now and that LED was never
> important for me, quite the contrary, it's annoying to have the extra work
> in the idle wakeup path which causes extra pointless latency. If you can't
> figure out your keypress lag without that LED then feel free to patch your
> own kernel, but stop trying to impose that nonsense on everyone.

The kernel already has the hooks, and they did not seem to bother
anyone. Arm already has the functionality, and it is useful. You may
not care, but so what. Leds are broken on x86, plain and simple.

Perhaps that should not be your decision? Feel free to patch it out of
your kernel. Or feel free to argue that it needs to be removed from
arm. But having unneccessary differences between architectures is just
ugly.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2016-12-08 22:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  6:23 [PATCH 0/5] x86: remove idle notifier Len Brown
2016-11-18  6:23 ` [PATCH 1/5] i7300_idle: remove this driver Len Brown
2016-11-18  6:23   ` [PATCH 2/5] x86: remove idle_notifier Len Brown
2016-11-18 11:19     ` [tip:x86/idle] x86/idle: Remove idle_notifier tip-bot for Len Brown
2016-12-06 16:54     ` [PATCH 2/5] x86: remove idle_notifier Pavel Machek
2016-12-07 11:46       ` Thomas Gleixner
2016-12-07 13:40         ` Pavel Machek
2016-12-08  9:18           ` Thomas Gleixner
2016-12-08 22:05             ` Pavel Machek [this message]
2016-12-08 22:53               ` Thomas Gleixner
2016-11-18  6:23   ` [PATCH 3/5] x86: remove is_idle flag Len Brown
2016-11-18 11:20     ` [tip:x86/idle] x86/idle: Remove " tip-bot for Len Brown
2016-11-18  6:23   ` [PATCH 4/5] x86: remove x86_test_and_clear_bit_percpu() Len Brown
2016-11-18 11:20     ` [tip:x86/idle] x86: Remove x86_test_and_clear_bit_percpu() tip-bot for Len Brown
2016-11-18  6:23   ` [PATCH 5/5] x86: remove enter_idle(), exit_idle() Len Brown
2016-11-18 11:21     ` [tip:x86/idle] x86/idle: Remove " tip-bot for Len Brown
2016-11-18 11:19   ` [tip:x86/idle] i7300_idle: Remove this driver tip-bot for Len Brown
2016-11-18  8:17 ` [PATCH 0/5] x86: remove idle notifier Ingo Molnar

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=20161208220548.GC12472@amd \
    --to=pavel@ucw.cz \
    --cc=len.brown@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.