archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <>
To: Dave Jones <>
Cc: Jamie Lokier <>, Gerd Knorr <>,
	Linus Torvalds <>,
	Linux Kernel Mailing List <>,
	Andi Kleen <>
Subject: Re: [patch] vesafb fix
Date: 15 Jul 2003 19:46:03 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Maw, 2003-07-15 at 19:22, Dave Jones wrote:
> I can't see how you can cover an not-a-powerof2 size area of memory
> without doing too little/too much. The winchip code was written with
> RAM in mind, which is always a power of 2 unless you boot with
> mem=fooMB

RAM is never power of two, a few bits always vanish off the ends.
The trick is that you start at a power of 2 boundary then build up/down
if you have to do power of two ranges

      reply	other threads:[~2003-07-15 18:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 14:10 [patch] vesafb fix Gerd Knorr
2003-07-15 17:35 ` Jamie Lokier
2003-07-15 17:53   ` Dave Jones
2003-07-15 18:06     ` Alan Cox
2003-07-15 18:22       ` Dave Jones
2003-07-15 18:46         ` Alan Cox [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).