io_setup.2: Clarify the nr_events parameter.
PATCH 1/1 io_setup.2: Clarify the nr_events parameter.
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.
--- man2/io_setup.2 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
man2/io_setup.2 +2 -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
Signature · 10 lines
1.7.8.6 -- Cyril Hrubis [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20130514161955.GA15213-J5syqNJeCN7twjQa/[email protected]
Quoted 10 lines · Cyril Hrubis
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_eventsoperations 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_eventsoperations.Signed-off-by Cyril Hrubis <[email protected]>Acked-by Jeff Moyer <[email protected]>
Tanks, Cyril. Applied.
Cheers,
Michael
Quoted 10 lines
--- man2/io_setup.2 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)man2/io_setup.2 +0
-0
man2/io_setup.2 There is no glibc wrapper for this system call; see NOTES. · line 28
Quoted 10 lines
man2/io_setup.2 +2
-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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html