From: Josh Triplett <josh@joshtriplett.org>
To: Richard Cochran <richardcochran@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>,
Nicolas Pitre <nico@fluxnic.net>,
Thomas Gleixner <tglx@linutronix.de>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC/PATCH] posix-timers: make them configurable
Date: Fri, 9 Sep 2016 01:00:34 -0700 [thread overview]
Message-ID: <20160909080034.2cw7pnbu5vu7dc5j@x> (raw)
In-Reply-To: <20160909074857.GA9083@localhost.localdomain>
On Fri, Sep 09, 2016 at 09:48:57AM +0200, Richard Cochran wrote:
> On Thu, Sep 08, 2016 at 02:19:24PM -0700, John Stultz wrote:
> > Also given many other syscalls take clockids and the backing logic
> > isn't really getting removed (probably could cut the dynamic posix
> > clocks core with the same conditional), I wonder if you could get a
> > similar size win by taking a slightly more narrow cutting of the
> > subsystem. That way you could preserve the more useful clock_gettime()
> > functionality, but maybe stub out some of the less often used
> > functionality.
>
> I want to support tinification, but I also doubt the utility of
> removing clock_gettime() and clock_nanosleep(). I can't imagine ever
> building a user space without those. In fact, thinking about IoT,
> having good time is critical, and so these are the *last* functions I
> would remove when downsizing.
1) If you already have another function providing time and don't need two.
2) If you run an entirely event-driven loop and don't sleep.
next prev parent reply other threads:[~2016-09-09 8:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 21:05 [RFC/PATCH] posix-timers: make them configurable Nicolas Pitre
2016-09-08 21:19 ` John Stultz
2016-09-08 21:48 ` Josh Triplett
[not found] ` <i7B1bN3EzSJWci7B2bJXya@videotron.ca>
2016-09-08 23:56 ` Nicolas Pitre
2016-09-09 0:37 ` Josh Triplett
2016-09-09 7:48 ` Richard Cochran
2016-09-09 8:00 ` Josh Triplett [this message]
2016-09-09 13:47 ` Thomas Gleixner
2016-09-09 13:46 ` Thomas Gleixner
2016-09-09 13:39 ` Thomas Gleixner
2016-09-13 20:57 ` Nicolas Pitre
2016-09-14 9:47 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160909080034.2cw7pnbu5vu7dc5j@x \
--to=josh@joshtriplett.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=richardcochran@gmail.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox