Re: 2.4.x VM problems thread

From: Ted Unangst (tedu@stanford.edu)
Date: Tue Aug 07 2001 - 16:02:46 EST


On Tue, 7 Aug 2001, Richard B. Johnson wrote:

> Wow a memory-mapped fork bomb! Now what on earth did you expect?
> Run it from a user-account with ulimits enabled for slightly less
> than the total system resources. Then complain.

not even mmap'ed.

case 0: break;
                                tmp = mmap(0, 64 * 4096, PROT_EXEC,
MAP_SHARED
| MAP_ANONYMOUS, -1, 0);

the mmap never even gets run. might as well be for(;;) fork();

>
>
> Cheers,
> Dick Johnson
>
> Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
>
> I was going to compile a list of innovations that could be
> attributed to Microsoft. Once I realized that Ctrl-Alt-Del
> was handled in the BIOS, I found that there aren't any.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
"I am clearly more popular than Reagan.  I am in my third term.
Where's Reagan?  Gone after two!  Defeated by George Bush and
Michael Dukakis no less."
      - M. Barry, Mayor of Washington, DC

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:47 EST