Commit ee5b3ef9 authored by Victor J. Orlikowski's avatar Victor J. Orlikowski
Browse files

Make the processor unbinding/re-binding stuff on AIX work again.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89341 13f79535-47bb-0310-9956-ffa450edef68
parent 981caf08
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
Changes with Apache 2.0.19-dev
  *) httpd children now re-bind themselves to a random CPU on
     multiprocessor systems on AIX via bindprocessor() in 2.0.
     [Victor J. Orlikowski]

  *) Fix htdigest. It would go into a loop in getline when adding 
     a second user. [Bill Stoddard]
+2 −1
Original line number Diff line number Diff line
@@ -183,7 +183,8 @@ unistd.h \
sys/socket.h \
pwd.h \
grp.h \
strings.h
strings.h \
sys/processor.h
)
AC_HEADER_SYS_WAIT

+1 −1
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ static int make_child(server_rec *s, int slot)
    }

    if (!pid) {
#ifdef AIX_BIND_PROCESSOR
#ifdef HAVE_SYS_PROCESSOR_H
      /* By default, AIX binds to a single processor.  This bit unbinds
	 children which will then bind to another CPU.
      */
+1 −1
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ static int make_child(server_rec *s, int slot)
    }

    if (!pid) {
#ifdef AIX_BIND_PROCESSOR
#ifdef HAVE_SYS_PROCESSOR_H
      /* By default, AIX binds to a single processor.  This bit unbinds
	 children which will then bind to another CPU.
      */
+1 −1
Original line number Diff line number Diff line
@@ -868,7 +868,7 @@ static int make_child(server_rec *s, int slot)
    }

    if (!pid) {
#ifdef AIX_BIND_PROCESSOR
#ifdef HAVE_SYS_PROCESSOR_H
/* by default AIX binds to a single processor
 * this bit unbinds children which will then bind to another cpu
 */
Loading