mailing list of musl libc
 help / color / mirror / code / Atom feed
* util-linux, udev (eudev)
@ 2013-05-03  0:52 Matias A. Fonzo
  2013-05-03  1:50 ` Szabolcs Nagy
  2013-05-03  2:14 ` Rich Felker
  0 siblings, 2 replies; 4+ messages in thread
From: Matias A. Fonzo @ 2013-05-03  0:52 UTC (permalink / raw)
  To: musl

Hello,

Maybe it is not appropriate, but util-linux and udev (eudev) needs the
cpuset / affinity support. I hope this can be added soon on musl.

Thanks,
Matias.



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

* Re: util-linux, udev (eudev)
  2013-05-03  0:52 util-linux, udev (eudev) Matias A. Fonzo
@ 2013-05-03  1:50 ` Szabolcs Nagy
  2013-05-03  6:34   ` Rob Landley
  2013-05-03  2:14 ` Rich Felker
  1 sibling, 1 reply; 4+ messages in thread
From: Szabolcs Nagy @ 2013-05-03  1:50 UTC (permalink / raw)
  To: musl

* Matias A. Fonzo <selk@dragora.org> [2013-05-02 21:52:43 -0300]:
> Maybe it is not appropriate, but util-linux and udev (eudev) needs the
> cpuset / affinity support. I hope this can be added soon on musl.

eudev only seem to use affinity to get
a hint on the number of cpus and set the
max number of worker children accordingly
(a sensible default value will work for this)

and libudev has a 'cpu_set_malloc' api
which uses affinity to get the right cpu
set size, but it is never used
(dummy api will work)

so affinity does not seem to be essential for eudev



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

* Re: util-linux, udev (eudev)
  2013-05-03  0:52 util-linux, udev (eudev) Matias A. Fonzo
  2013-05-03  1:50 ` Szabolcs Nagy
@ 2013-05-03  2:14 ` Rich Felker
  1 sibling, 0 replies; 4+ messages in thread
From: Rich Felker @ 2013-05-03  2:14 UTC (permalink / raw)
  To: musl

On Thu, May 02, 2013 at 09:52:43PM -0300, Matias A. Fonzo wrote:
> Hello,
> 
> Maybe it is not appropriate, but util-linux and udev (eudev) needs the
> cpuset / affinity support. I hope this can be added soon on musl.

It's been on the agenda for a long time now. Maybe I can look at doing
it in the next few days.

Rich


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

* Re: util-linux, udev (eudev)
  2013-05-03  1:50 ` Szabolcs Nagy
@ 2013-05-03  6:34   ` Rob Landley
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Landley @ 2013-05-03  6:34 UTC (permalink / raw)
  To: musl

On 05/02/2013 08:50:32 PM, Szabolcs Nagy wrote:
> * Matias A. Fonzo <selk@dragora.org> [2013-05-02 21:52:43 -0300]:
> > Maybe it is not appropriate, but util-linux and udev (eudev) needs  
> the
> > cpuset / affinity support. I hope this can be added soon on musl.
> 
> eudev only seem to use affinity to get
> a hint on the number of cpus and set the
> max number of worker children accordingly
> (a sensible default value will work for this)

echo /sys/devices/system/cpu/cpu[0-9]* | wc -w

Rob

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

end of thread, other threads:[~2013-05-03  6:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-03  0:52 util-linux, udev (eudev) Matias A. Fonzo
2013-05-03  1:50 ` Szabolcs Nagy
2013-05-03  6:34   ` Rob Landley
2013-05-03  2:14 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).