From: Dmitry Antipov <dmitry.antipov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Cc: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC PATCH] hrtimers: system-wide and per-task hrtimer slacks
Date: Fri, 06 Apr 2012 13:14:46 +0400 [thread overview]
Message-ID: <4F7EB406.5020703@linaro.org> (raw)
In-Reply-To: <20120404171013.ac08575d.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
On 04/05/2012 04:10 AM, Andrew Morton wrote:
> Well.. there are some back-incompatibilities here.
> prctl(PR_SET_TIMERSLACK, -1) used to restore current's slack setting to
> whatever-we-inherited-at-fork, but that has been removed. What are the
> implications of this, and did we need to do it?
It seems you're looking at the previous version of this patch
(http://lkml.org/lkml/2012/2/20/55). Latest proposal is
http://lwn.net/Articles/484162/, which defines PR_SET_TIMERSLACK
action as:
...
case PR_SET_TIMERSLACK:
if (arg2 <= 0)
current->timer_slack_ns =
default_timer_slack_ns;
else if (arg2 <= HRTIMER_MAX_SLACK)
current->timer_slack_ns = arg2;
else
error = -EINVAL;
break;
...
> If we do make changes in this area then the prctl manpage should be
> updated, please. And if
> http://www.spinics.net/lists/linux-man/msg01149.html represents the
> current state of that manpage then it should be updated anyway - that
> entry doesn't say anything about the (arg2<= 0) case.
I sent a patch for man pages too, it should be one of the recent posts
at http://www.spinics.net/lists/linux-man/index.html.
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Antipov <dmitry.antipov@linaro.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org,
patches@linaro.org, linux-man@vger.kernel.org
Subject: Re: [RFC PATCH] hrtimers: system-wide and per-task hrtimer slacks
Date: Fri, 06 Apr 2012 13:14:46 +0400 [thread overview]
Message-ID: <4F7EB406.5020703@linaro.org> (raw)
In-Reply-To: <20120404171013.ac08575d.akpm@linux-foundation.org>
On 04/05/2012 04:10 AM, Andrew Morton wrote:
> Well.. there are some back-incompatibilities here.
> prctl(PR_SET_TIMERSLACK, -1) used to restore current's slack setting to
> whatever-we-inherited-at-fork, but that has been removed. What are the
> implications of this, and did we need to do it?
It seems you're looking at the previous version of this patch
(http://lkml.org/lkml/2012/2/20/55). Latest proposal is
http://lwn.net/Articles/484162/, which defines PR_SET_TIMERSLACK
action as:
...
case PR_SET_TIMERSLACK:
if (arg2 <= 0)
current->timer_slack_ns =
default_timer_slack_ns;
else if (arg2 <= HRTIMER_MAX_SLACK)
current->timer_slack_ns = arg2;
else
error = -EINVAL;
break;
...
> If we do make changes in this area then the prctl manpage should be
> updated, please. And if
> http://www.spinics.net/lists/linux-man/msg01149.html represents the
> current state of that manpage then it should be updated anyway - that
> entry doesn't say anything about the (arg2<= 0) case.
I sent a patch for man pages too, it should be one of the recent posts
at http://www.spinics.net/lists/linux-man/index.html.
Dmitry
next prev parent reply other threads:[~2012-04-06 9:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 7:49 [RFC PATCH] hrtimers: system-wide and per-task hrtimer slacks Dmitry Antipov
[not found] ` <1329724172-27690-1-git-send-email-dmitry.antipov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-04-05 0:10 ` Andrew Morton
2012-04-05 0:10 ` Andrew Morton
[not found] ` <20120404171013.ac08575d.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2012-04-06 9:14 ` Dmitry Antipov [this message]
2012-04-06 9:14 ` Dmitry Antipov
[not found] ` <4F7EB406.5020703-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-04-24 22:06 ` Michael Kerrisk
2012-04-24 22:06 ` Michael Kerrisk
-- strict thread matches above, loose matches on Subject: below --
2012-02-28 8:46 Dmitry Antipov
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=4F7EB406.5020703@linaro.org \
--to=dmitry.antipov-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.