All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] io_setup.2: Clarify the nr_events parameter.
@ 2013-05-14 16:19 Cyril Hrubis
       [not found] ` <20130514161955.GA15213-J5syqNJeCN7twjQa/ONI9g@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Cyril Hrubis @ 2013-05-14 16:19 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: Jeff Moyer, linux-man-u79uwXL29TY76Z2rM5mHXA

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>
---
 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
-- 
1.7.8.6


-- 
Cyril Hrubis
chrubis-AlSwsSmVLrQ@public.gmane.org
--
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] io_setup.2: Clarify the nr_events parameter.
       [not found] ` <20130514161955.GA15213-J5syqNJeCN7twjQa/ONI9g@public.gmane.org>
@ 2013-05-18 19:21   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2013-05-18 19:21 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Jeff Moyer, linux-man-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-18 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.