lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080429182208.70e1053e@mjolnir.drzeus.cx>
Date:	Tue, 29 Apr 2008 18:22:08 +0200
From:	Pierre Ossman <drzeus-list@...eus.cx>
To:	Tadeusz Gozdek <linux_fan@...pl>
Cc:	linux-kernel@...r.kernel.org, marcel@...tmann.org
Subject: Re: Fwd: [PATCH] [MMC] fix clock problem in PXA255/270

On Tue, 29 Apr 2008 12:30:44 +0200
Tadeusz Gozdek <linux_fan@...pl> wrote:

> OK probably I didn't understand your policy. I ever thought that the host controller should know, when the clock should be off.

No, it's not because it's not my policy, but because the kernel tries
to avoid handling "policy". :)

It is common to talk about software that implements "policy" or
"mechanism". "mechanism" is simple the act of performing a given, well
defined task (e.g. turn on LED A). "policy" on the other hand is
selecting an action when there are multiple, equally valid actions.
Usually this involves the user, directly or indirectly.

The kernel tries to stay clear of "policy" as it is a complex problem
that is better solved per system, in user space. So what I meant when I
said that this is policy, I was saying that this is a "policy" kind of
decision that needs to be configurable from user space.

> The PXA controller is different and it was the simples (but effective) way to solve this difference.

Different in what regard? Or are you referring to the already present
clock fudging in the driver?

> 
> So, I hope it will be usable for people which has problem with "always on" clock, until you solve it in different way (if you going to do this).
> 

This is a project that has been popping up now and then, but the big
thing that is lacking is someone who is able to actually measure if
there is a power gain from this. I don't want to add a lot of code that
isn't doing any good, so I want hard numbers.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ