httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/perchild perchild.c
Date Mon, 11 Jun 2001 21:42:02 GMT
orlikowski    01/06/11 14:42:01

  Modified:    .        CHANGES configure.in
               server/mpm/prefork prefork.c
               server/mpm/threaded threaded.c
               server/mpm/perchild perchild.c
  Log:
  Make the processor unbinding/re-binding stuff on AIX work again.
  
  Revision  Changes    Path
  1.223     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.222
  retrieving revision 1.223
  diff -u -r1.222 -r1.223
  --- CHANGES	2001/06/10 21:01:56	1.222
  +++ CHANGES	2001/06/11 21:41:23	1.223
  @@ -1,4 +1,7 @@
   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]
  
  
  
  1.161     +2 -1      httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.160
  retrieving revision 1.161
  diff -u -r1.160 -r1.161
  --- configure.in	2001/06/07 10:03:05	1.160
  +++ configure.in	2001/06/11 21:41:25	1.161
  @@ -183,7 +183,8 @@
   sys/socket.h \
   pwd.h \
   grp.h \
  -strings.h
  +strings.h \
  +sys/processor.h
   )
   AC_HEADER_SYS_WAIT
   
  
  
  
  1.179     +1 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.178
  retrieving revision 1.179
  diff -u -r1.178 -r1.179
  --- prefork.c	2001/06/07 16:49:03	1.178
  +++ prefork.c	2001/06/11 21:41:40	1.179
  @@ -868,7 +868,7 @@
       }
   
       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.33      +1 -1      httpd-2.0/server/mpm/threaded/threaded.c
  
  Index: threaded.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/threaded.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- threaded.c	2001/05/15 02:38:17	1.32
  +++ threaded.c	2001/06/11 21:41:50	1.33
  @@ -803,7 +803,7 @@
       }
   
       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.66      +1 -1      httpd-2.0/server/mpm/perchild/perchild.c
  
  Index: perchild.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/perchild/perchild.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- perchild.c	2001/05/06 23:27:14	1.65
  +++ perchild.c	2001/06/11 21:41:56	1.66
  @@ -967,7 +967,7 @@
       }
   
       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.
         */
  
  
  

Mime
View raw message