Skip to contentSkip to conversation

io_setup.2: Clarify the nr_events parameter.

PATCH In review Cyril Hrubis 2 participants 2 messages May 14, 2013 – May 18, 2013 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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
index 81b9a8b..ffa3972 100644
@@ -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]

#2 lore raw
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_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.

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
index 81b9a8b..ffa3972 100644

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