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: <1371751974.2146.21.camel@joe-AO722>
Date:	Thu, 20 Jun 2013 11:12:54 -0700
From:	Joe Perches <joe@...ches.com>
To:	Gaël PORTAY <g.portay@...rkiz.com>
Cc:	Rob Landley <rob@...dley.net>, Bryan Wu <cooloney@...il.com>,
	Richard Purdie <rpurdie@...ys.net>,
	"Milo(Woogyom) Kim" <milo.kim@...com>, linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org
Subject: Re: [RFC PATCH] led: add Cycle LED trigger.

On Thu, 2013-06-20 at 11:44 +0200, Gaël PORTAY wrote:
> On 19/06/2013 00:05, Joe Perches wrote:
> > On Tue, 2013-06-18 at 18:24 +0200, Gaël PORTAY wrote:
> >> Currently, none of available triggers supports playing with the LED brightness
> >> level.  The cycle trigger provides a way to define custom brightness cycle.
[]
> > I think maybe this is a userspace thing,
[]
> About the kernel/user space discussion, I'd rather keep the cycle 
> trigger implementation in the kernel space,
> because it implies brightness change every 10-100ms or less. This leads 
> to lots of context switches, and I'm not
> even sure the user space can handle such timings accurately.

Hi Gaël

No big concern other than maybe that's best done
in user space.  Try it.  If it doesn't work well,
then send the kernel patch with a description why
it doesn't work well in user-space.

cheers, Joe

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