linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@transmeta.com>
To: Rik van Riel <H.H.vanRiel@fys.ruu.nl>
Cc: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>, linux-mm <linux-mm@kvack.org>
Subject: Re: new allocation algorithm
Date: Fri, 27 Mar 1998 09:30:40 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.3.95.980327092811.6613C-100000@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.3.91.980327095733.3532A-100000@mirkwood.dummy.home>



On Fri, 27 Mar 1998, Rik van Riel wrote:
> 
> I just came up with the idea of using an ext2 like algorithm
> for memory allocation, in which we:
> - group memory in 128 PAGE groups
> - have one unsigned char counter per group, counting the number
>   of used pages

Let's wait with how well the current setup works. It seems to perform
reasonably well even on smaller machines (modulo your patch), and I think
we'd better more-or-less freeze it waiting for further info on what people
actually think. 

The current scheme is fairly efficient and extremely stable, and gives
good behaviour for the cases we _really_ care about (pageorders 0, 1 and
to some degree 2). It comes reasonably close to working for the higher
orders too, but they really aren't as critical..

		Linus

  reply	other threads:[~1998-03-27 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-27  9:03 Rik van Riel
1998-03-27 17:30 ` Linus Torvalds [this message]
1998-03-27 18:33   ` Benjamin C.R. LaHaise
1998-03-30 15:07   ` Rik van Riel
1998-04-01 20:28   ` Stephen C. Tweedie

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.95.980327092811.6613C-100000@penguin.transmeta.com \
    --to=torvalds@transmeta.com \
    --cc=H.H.vanRiel@fys.ruu.nl \
    --cc=linux-mm@kvack.org \
    --cc=sct@dcs.ed.ac.uk \
    /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