Michael Kerrisk
2fac17032a
CPU_SET.3: minor: tweak NOTES text on CPU_SETSIZE and 'setsize'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
50ee5bc147
CPU_SET.3: spfix
2008-11-25 20:53:59 -05:00
Michael Kerrisk
e973db1769
CPU_SET.3: minor: tweak text of BUGS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
6924199053
CPU_SET.3: Various improvements in DESCRIPTION
...
After review comments by Bert Wesarg:
* Explain that cpu_set_t is a bitset, but should be considered
opaque.
* A CPU set can be duplicated with memset().
* Size of a CPU set is rounded up to size of long.
* CPU_SETSIZE is in bits, but the setsize argument is in bytes.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
Reviewed-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
b62e354822
CPU_SET.3: Document CPU_ALLOC()/CPU_ALLOC_SIZE() bug
...
These macros return twice what they should because of thinko
in glibc 2.8 and earlier. The bug is fixed for glibc 2.9.
http://sourceware.org/bugzilla/show_bug.cgi?id=7029
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:58 -05:00
Michael Kerrisk
d69305f691
sched_setaffinity.2: ffix
2008-11-25 20:53:58 -05:00
Michael Kerrisk
d7ddac242d
sched_setaffinity.2: Refer reader to pthread_setaffinity_np(3)
...
pthread_setaffinity_np() is preferable for setting
thread CPU affinity if using the POSIX threads API.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:58 -05:00
Michael Kerrisk
ecbb9b58ce
sched_setaffinity.2: wfix: s/current thread/calling thread/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Ivana Varekova
cfe70b66ae
proc.5: Fix reference to kernel source file
...
Use relative reference to Documentation/mtrr.txt.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
7844c4ea58
CPU_ZERO_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
4ce33dc68a
CPU_XOR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
3b0122a7a8
CPU_XOR.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
474dc065be
CPU_SET_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
6a7fe37559
CPU_OR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
966280197f
CPU_OR.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
f4c2bad396
CPU_ISSET_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
d008b874b2
CPU_FREE.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
ca8a860474
CPU_EQUAL_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
0e972f10fb
CPU_EQUAL.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
dc23951093
CPU_COUNT_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
ff07d3d53e
CPU_CLR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
94ed3c6315
CPU_AND_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
25717f3a2b
CPU_AND.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
e0685b4078
CPU_ALLOC_SIZE.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
6dc17d0692
CPU_ALLOC.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
214c1dd290
CPU_SET.3: grfix
2008-11-25 20:53:54 -05:00
Michael Kerrisk
aa633a586d
CPU_SET.3: Fix return type of CPU_ALLOC_SIZE() in SYNOPSIS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
488d0e98f3
CPU_SET.3: Add description of macros for dynamically allocated CPU sets
...
Add descriptions of CPU_ALLOC(), CPU_ALLOC_SIZE(), CPU_FREE(),
CPU_SET_S(), CPU_CLR_S(), CPU_ISSET_S(), CPU_ZERO_S(),
CPU_COUNT_S(), CPU_AND_S(), CPU_OR_S(), CPU_XOR_S(), and
CPU_EQUAL_S().
2008-11-25 20:53:53 -05:00
Michael Kerrisk
94934ae71c
CPU_SET.3: Add description of CPU_AND(), CPU_OR, CPU_XOR(), and CPU_EQUAL()
...
Plus a few other small clean-ups of the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
df79be827a
CPU_SET.3: minor: reorder some text, whitespace fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
f7eec8970c
CPU_SET.3: minor: s/1024/currently 1024/ for description of CPU_SETSIZE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
f48bf14117
CPU_COUNT.3: New link to CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
639c5cc8c3
CPU_SET.3: Add documentation of CPU_COUNT()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:52 -05:00
Michael Kerrisk
ef5694bc07
pthread_attr_setaffinity_np.3: spfix
2008-11-25 20:53:52 -05:00
Michael Kerrisk
bd5bb13000
pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Remove redundant text relating to CPU sets
...
Information about CPU_SETSIZE can be found in CPU_SET.3, so
remove discussion of it here.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:46 -05:00
Michael Kerrisk
8e223af2e3
pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Update to reflect new location of CPU_*() documentation
...
The CPU_*() macros are now documented in CPU_SET.3;
update to reflect that fact.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
1e68d71623
cpuset.7: SEE ALSO: add CPU_SET(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
089de1d271
CPU_CLR.3, CPU_ISSET.3, CPU_ZERO.3: Update links to point to CPU_SET.3
...
The documentation of the CPU_* macros migrated to a new location:
CPU_SET.3.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
a9cdb1db67
CPU_SET.3: New page documenting CPU_* macros
...
This page contains material moved out of sched_setscheduler(2).
It overwrites a previously existing link file with the same name.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
ad3f4748db
sched_setaffinity.2: Removed discussion of CPU_* macros()
...
These macros are now moving to a separate page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
2ce777b42c
sched_setaffinity.2: wfix
2008-11-13 08:56:55 -05:00
Michael Kerrisk
718af393c7
sched_setaffinity.2: Minor updates in VERSIONS
...
Document the version of glibc that added the CPU_*() macros.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:55 -05:00
Masanari Iida
ed27948551
syslog.3: LOG_KERN messages can't be generated from user processes
...
Masanari notes that this is an FAQ for logger(1) and that
Solaris and FreeBSD document this point in syslog(3).
The glibc info page also hides this comment in its source:
Internally, there is also LOG_KERN, but LOG_KERN == 0,
which means if you try to use it here, just selects default.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:50 -05:00
Michael Kerrisk
64c85cc4ca
syslog.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-12 11:26:17 -05:00
Michael Kerrisk
d1d8780179
epoll.7: Note glibc version that added epoll support
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 21:22:58 -05:00
Michael Kerrisk
cc7ffe866d
inet_ntop.3: Rework text describing 'size' argument
...
(After a suggestion by Vegard Nossum.)
Also made a few other small rewordings to in the initial
paragraph.
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:10:53 -05:00
Michael Kerrisk
f961f9c1ab
inet_ntop.3: Rename 'cnt' argument to 'size'
...
This is consistent with POSIX.1, and also a more sensible name.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:05:07 -05:00
Vegard Nossum
6304255391
netlink.7: Fix incorrect variable names in example code
...
s/snl/sa/ * 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:54:06 -05:00
Michael Kerrisk
48011c24d7
netlink.7: wsfix
2008-11-11 14:54:06 -05:00
Michael Kerrisk
bfc40b3d71
pthreads.7: SEE ALSO: add pthread_attr_init() and pthread_cancel()
2008-11-11 14:54:06 -05:00