Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in the task struct

From: Pavel Machek
Date: Sat Sep 13 2008 - 12:45:26 EST


Hi!

> > Yes, it is a great advantage, but it feels like a hack. Maybe it is
> > better done with LD_PRELOAD or something?
>
> that's not working very well in general, and doesn't work across exec
> etc.

LD_PRELOAD should work over exec...

Another possibility would be to declare new syscalls, and have glibc
automatically use select_slack(, foo) if GLIBC_SLACK=foo.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/