mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: Gregory Giguashvili <Gregoryg@ParadigmGeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Correctly determine amount of "free memory"
Date: Mon, 6 Dec 2004 17:10:32 +0100	[thread overview]
Message-ID: <20041206161032.GA4997@outpost.ds9a.nl> (raw)
In-Reply-To: <06EF4EE36118C94BB3331391E2CDAAD9CD067A@exil1.paradigmgeo.net>

On Mon, Dec 06, 2004 at 05:57:09PM +0200, Gregory Giguashvili wrote:

> I'm using mlock(2), but the problem is that I need to allocate as much
> memory as possible without causing swapping, so I need to have _rough_
> estimate before actually allocating the memory.

I think a guy called 'Ben' from google went over this a couple of years ago,
the discussion might still be relevant. His email address contained
'google.com' and he posted on lkml.

Too lazy to google for it now but this will point you in the right
direction.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

  reply	other threads:[~2004-12-06 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06 15:57 Gregory Giguashvili
2004-12-06 16:10 ` bert hubert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-07 15:58 Gregory Giguashvili
2004-12-06 19:00 Gregory Giguashvili
2004-12-06 17:04 Gregory Giguashvili
2004-12-06 14:53 Gregory Giguashvili
2004-12-06 15:16 ` bert hubert
2004-12-06 18:26 ` David Schwartz

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=20041206161032.GA4997@outpost.ds9a.nl \
    --to=ahu@ds9a.nl \
    --cc=Gregoryg@ParadigmGeo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome