Messages in this thread | | | Date | Sat, 13 Sep 2008 18:24:10 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in the task struct |
| |
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
| |