Possible optimization in NPTL ?

Sebastien Decugis sebastien.decugis@ext.bull.net
Wed Sep 1 13:37:00 GMT 2004


Hi all,

I've seen that everytime a new thread is created with a defined
scheduling policy, two syscalls are issued (sched_get_priority_min and
sched_get_priority_max). I was wondering if it wouldn't be worth caching
those values... I think those are constants (depending of the policy of
course), so couldn't we have a local copy (in user land) of the array
{policies/range} ?

Any thoughts?

Thanks,
Sebastien.


-------------------------------
Sebastien DECUGIS

"You may fail if you try.
You -will- fail if you don't."




More information about the Libc-alpha mailing list