]> git.kaiwu.me - nginx.git/commit
Merge of r4404:
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 5 Feb 2012 19:25:24 +0000 (19:25 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 5 Feb 2012 19:25:24 +0000 (19:25 +0000)
commita491bd5799bf04ac6ea85d5090ac22f603a981b4
treecf0e93af06a15ddb6c01a3ddbb25e74aa506d9fa
parentc8d012d425137f36ee0b509ce1e95f339cfe5cbc
Merge of r4404:

Fixed sched_setaffinity(2) to correctly pass size.

Second argument (cpusetsize) is size in bytes, not in bits.  Previously
used constant 32 resulted in reading of uninitialized memory and caused
EINVAL to be returned on some Linux kernels.
src/os/unix/ngx_process_cycle.c