public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Love <rml@tech9.net>
To: Lutz Vieweg <lkv@isg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mlock() "bogus check" (locked > num_physpages/2) _does_ hurt!
Date: Thu, 11 Dec 2003 14:14:38 -0500	[thread overview]
Message-ID: <1071170077.13785.107.camel@localhost> (raw)
In-Reply-To: <3FD8BE9D.9000701@isg.de>

On Thu, 2003-12-11 at 13:59, Lutz Vieweg wrote:

> Is there any good reason to keep this check in the 2.4 kernel sources?

Not really.

> It's good to know the check is not present in the 2.6 sources, but I would
> like to get rid of it in 2.4, too...

It was removed from 2.6 for the reasons you cite.  2.4 could follow
suit.

It does lead to problems, though, where you can memlock too much memory
and lock the machine up.  But we could file that under "don't do that".

	Rob Love



      reply	other threads:[~2003-12-11 19:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 18:59 mlock() "bogus check" (locked > num_physpages/2) _does_ hurt! Lutz Vieweg
2003-12-11 19:14 ` Rob Love [this message]

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=1071170077.13785.107.camel@localhost \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkv@isg.de \
    /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