cvs commit: src/sys/vm vm_kern.c

Alfred Perlstein alfred at freebsd.org
Mon Feb 16 16:18:35 PST 2004


* Dag-Erling Smorgrav <des at FreeBSD.org> [040216 10:41] wrote:
> des         2004/02/16 10:41:58 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_kern.c 
>   Log:
>   Don't panic if we fail to satisfy an M_WAITOK request; return 0 instead.
>   The calling code will either handle that gracefully or cause a page fault.

This is really bad idea, please back it out.  You are certainly
going to get a pagefault in virtually EVERY consumer of malloc.  It
turns easy to debug calls into a "page fault" ie. "buggy" looking
kernel.

Bad press, bad idea, back it out, no cookie. :(

You go from:
  "I installed freebsd, exhausted some limits and the machine blew."
to:
  "FreeBSD falls over with 'random' panics when faced with large load."

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list