linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Wichert Akkerman <wichert@soil.nl>
Cc: Andi Kleen <ak@muc.de>, linux-mm@kvack.org, riel@conectiva.com.br
Subject: Re: Running out of memory in 1 easy step
Date: Thu, 14 Sep 2000 20:43:25 +0200	[thread overview]
Message-ID: <20000914204325.A6015@fred.muc.de> (raw)
In-Reply-To: <20000914180825.B19822@liacs.nl>; from wichert@soil.nl on Thu, Sep 14, 2000 at 06:08:28PM +0200

On Thu, Sep 14, 2000 at 06:08:28PM +0200, Wichert Akkerman wrote:
> Previously Andi Kleen wrote:
> > There is a hardwired limit of 1024 vmas/process. This is to avoid denial
> > of service attacks with attackers using up all memory with vmas.
> 
> That's trivial to circumvent using multiple processes or even threads which
> makes it a useless and possibly damaging protection imho..

The limit is actually 65536 I misremembered it. 
The main purpose is probably to avoid the counter wrapping. 
When get_unmapped_area failed you likely just ran out of virtual address space.


-Andi

-- 
This is like TV. I don't like TV.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

  reply	other threads:[~2000-09-14 18:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-14 12:59 Wichert Akkerman
2000-09-14 15:56 ` Andi Kleen
2000-09-14 16:08   ` Wichert Akkerman
2000-09-14 18:43     ` Andi Kleen [this message]
2000-09-14 19:20       ` Wichert Akkerman
2000-09-14 23:03         ` Mark Hahn
2000-09-15 13:22 Mark_H_Johnson
2000-09-15 16:35 ` Mark Hahn
2000-09-15 16:53 Mark_H_Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000914204325.A6015@fred.muc.de \
    --to=ak@muc.de \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=wichert@soil.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox