From: Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Cyril Hrubis <chrubis-AlSwsSmVLrQ@public.gmane.org>
Cc: Jeff Moyer <jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] io_setup.2: Clarify the nr_events parameter.
Date: Sat, 18 May 2013 21:21:18 +0200 [thread overview]
Message-ID: <5197D4AE.9060806@gmail.com> (raw)
In-Reply-To: <20130514161955.GA15213-J5syqNJeCN7twjQa/ONI9g@public.gmane.org>
On 05/14/13 18:19, Cyril Hrubis wrote:
> Currently the io_setup.2 man page describes what the kernel really does,
> i.e. that the resulting context may be able to hold more than the
> nr_events operations because the memory allocated in kernel is rounded
> to be multiple of page size.
>
> It is be better not to expose this implementation detail and simply
> state that the resulting context is suitable for nr_events operations.
>
> Signed-off-by: Cyril Hrubis <chrubis-AlSwsSmVLrQ@public.gmane.org>
> Acked-by: Jeff Moyer <jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Tanks, Cyril. Applied.
Cheers,
Michael
> ---
> man2/io_setup.2 | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man2/io_setup.2 b/man2/io_setup.2
> index 81b9a8b..ffa3972 100644
> --- a/man2/io_setup.2
> +++ b/man2/io_setup.2
> @@ -21,8 +21,8 @@ There is no glibc wrapper for this system call; see NOTES.
> The
> .BR io_setup ()
> system call
> -creates an asynchronous I/O context capable of of concurrently processing
> -at least \fInr_events\fP.
> +creates an asynchronous I/O context suitable for concurrently processing
> +\fInr_events\fP operations.
> The
> .I ctx_idp
> argument must not point to an AIO context that already exists, and must
>
--
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
prev parent reply other threads:[~2013-05-18 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 16:19 [PATCH] io_setup.2: Clarify the nr_events parameter Cyril Hrubis
[not found] ` <20130514161955.GA15213-J5syqNJeCN7twjQa/ONI9g@public.gmane.org>
2013-05-18 19:21 ` Michael Kerrisk [this message]
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=5197D4AE.9060806@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=chrubis-AlSwsSmVLrQ@public.gmane.org \
--cc=jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@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.