linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@nl.linux.org>
To: Mathias Waack <mathias@atoll-net.de>
Cc: Linux Kernel <linux-kernel@vger.rutgers.edu>,
	Linux MM <linux-mm@kvack.org>
Subject: Re: Kernel page count management
Date: Mon, 7 Feb 2000 17:09:09 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.10.10002071707110.9296-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <XFMail.000207103614.mathias@atoll-net.de>

On Mon, 7 Feb 2000, Mathias Waack wrote:

> If I request a page by calling get_free_page, the kernel 
> sets the usage count for this page to 1. So far so good, but if
> I request more pages by calling __get_free_pages(GFP...,order) 
> it sets only the usage count of the first returned page. 

Higher-order pages are "special".

They are used for special-purpose things and they are not
freeable by kswapd or anything else except the code that
requested the pages in the first place.

There is no real need to mark the other pages as used
since they've been removed from the free list and nobody
will see those pages (except the code that has allocated
them).

regards,

Rik
--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

--
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/

           reply	other threads:[~2000-02-07 16:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <XFMail.000207103614.mathias@atoll-net.de>]

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.10.10002071707110.9296-100000@mirkwood.dummy.home \
    --to=riel@nl.linux.org \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=linux-mm@kvack.org \
    --cc=mathias@atoll-net.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