From: "Benjamin C.R. LaHaise" <blah@kvack.org>
To: JF Martinez <jfm2@club-internet.fr>
Cc: linux-mm@kvack.org
Subject: Re: A question about pages in stacks
Date: Thu, 13 Apr 2000 17:27:43 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.3.96.1000413172501.13371A-100000@kanga.kvack.org> (raw)
In-Reply-To: <200004131958.VAA00863@agnes.bagneux.maison>
On Thu, 13 Apr 2000, JF Martinez wrote:
> Let's imagine that when looking for a pege the kerneml a page who has
> been part of a stack frame but since then the stack has shrunk so it
> is no longer in it. Will the kernel save it to disk or will it
> recognize it as a page who despite what the dirty bit could say is
> in fact free and does not need to be saved?
It will have to be flushed to swap. Stack shrinkage must be explicitely
performed, preferably using madvise. To this end, they could use a hint
from the kernel about the actual size of the stack (see the stack
discussions that have come up over the past week or two).
-ben
--
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/
next prev parent reply other threads:[~2000-04-13 21:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-13 19:58 JF Martinez
2000-04-13 21:00 ` Stephen C. Tweedie
2000-04-13 21:27 ` Benjamin C.R. LaHaise [this message]
2000-04-13 21:36 ` JF Martinez
2000-04-13 22:59 ` Benjamin C.R. LaHaise
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.3.96.1000413172501.13371A-100000@kanga.kvack.org \
--to=blah@kvack.org \
--cc=jfm2@club-internet.fr \
--cc=linux-mm@kvack.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