Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 09:37:01 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Henk Wevers <Henk@wevers.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_fork.c On 4.5 RELEASE?
Message-ID:  <200202261737.g1QHb1W86411@apollo.backplane.com>
References:   <3C7BB9B1.3060507@wevers.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:Hi,
:
:Can i use this diff shamelessly on an FreeBSD 4.5-RELEASE system?
:I can use the diff.
:
:Henk Wevers

    Yes, it should work just fine.  There are a couple of other
    patches Mike committed recently that you might also want to look
    at.  The one I include below definitely.

						-Matt

silby       2002/02/25 21:49:28 PST

  Modified files:        (Branch: RELENG_4)
    sys/vm               vm_fault.c vm_page.c vm_pageout.c 
                         vm_pageout.h 
  Log:
  MFC OOM killer changes:
  
    Changes to make the OOM killer much more effective:
  
    - Allow the OOM killer to target processes currently locked in
      memory.  These very often are the ones doing the memory hogging.
    - Drop the wakeup priority of processes currently sleeping while
      waiting for their page fault to complete.  In order for the OOM
      killer to work well, the killed process and other system processes
      waiting on memory must be allowed to wakeup first.
  
    Revision  Changes    Path
    1.128     +2 -2      src/sys/vm/vm_fault.c
    1.176     +23 -0     src/sys/vm/vm_page.c
    1.188     +1 -2      src/sys/vm/vm_pageout.c
    1.28      +3 -1      src/sys/vm/vm_pageout.h
  
  Revision    Changes    Path
  1.108.2.8   +2 -2      src/sys/vm/vm_fault.c
  1.147.2.14  +23 -0     src/sys/vm/vm_page.c
  1.151.2.13  +1 -2      src/sys/vm/vm_pageout.c
  1.26.2.1    +3 -1      src/sys/vm/vm_pageout.h


					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

:--
:silby       2002/02/25 21:32:44 PST
:
:   Modified files:        (Branch: RELENG_4)
:     sys/kern             kern_fork.c
:   Log:
:   MFC rev 1.132:
:
:     A few misc forkbomb defenses:
:
:     - Leave 10 processes for root-only use, the previous
:       value of 1 was insufficient to run ps ax | more.
:     - Remove the printing of "proc: table full".  When the table
:       really is full, this would flood the screen/logs, making
:       the problem tougher to deal with.
:     - Force any process trying to fork beyond its user's maximum
:       number of processes to sleep for .5 seconds before returning
:       failure.  This turns 2000 rampaging fork monsters into 2000
:       harmlessly snoozing fork monsters.
:
:   Revision   Changes    Path
:   1.72.2.10  +5 -2      src/sys/kern/kern_fork.c
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe cvs-all" in the body of the message
:
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe freebsd-stable" in the body of the message
:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202261737.g1QHb1W86411>