Re: Correctly determine amount of "free memory"
From: bert hubert (ahu_at_ds9a.nl)
Date: 12/06/04
- Previous message: Steven Rostedt: "Re: [RFC] dynamic syscalls revisited"
- In reply to: Gregory Giguashvili: "RE: Correctly determine amount of "free memory""
- Next in thread: Gregory Giguashvili: "RE: Correctly determine amount of "free memory""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 6 Dec 2004 17:10:32 +0100 To: Gregory Giguashvili <Gregoryg@ParadigmGeo.com>
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 - 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/
- Previous message: Steven Rostedt: "Re: [RFC] dynamic syscalls revisited"
- In reply to: Gregory Giguashvili: "RE: Correctly determine amount of "free memory""
- Next in thread: Gregory Giguashvili: "RE: Correctly determine amount of "free memory""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|