From: Rik van Riel <riel@redhat.com>
To: Vinay I K <abcxyz1@lycos.com>
Cc: Linux-MM@kvack.org
Subject: Re: Linux free issue
Date: Sat, 19 Jul 2003 10:39:04 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0307191037530.26759-100000@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <MEHFFGFJPAFEOBAA@mailcity.com>
On Sat, 19 Jul 2003, Vinay I K wrote:
> http://mail.nl.linux.org/linux-mm/1998-08/msg00028.html
>
> I am a bit confused. When we call free in Linux, is the memory not given
> back to the system(just cached)? What is the state of the issue in the
> latest Linux Kernel?
The issue is not in the Linux kernel at all, but in glibc.
It is the C library that has (after careful measuring and
optimising) made the decision to not call the system call
to free memory but instead keep it for later use.
I suspect their decision is the right one in most of the
cases.
--
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-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2003-07-19 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-19 13:34 Vinay I K
2003-07-19 14:39 ` Rik van Riel [this message]
2003-07-20 2:27 ` Eugene Teo
2003-07-19 13:35 Vinay I K
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=Pine.LNX.4.44.0307191037530.26759-100000@chimarrao.boston.redhat.com \
--to=riel@redhat.com \
--cc=Linux-MM@kvack.org \
--cc=abcxyz1@lycos.com \
/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