mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Tom Rini <trini@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Templates and tweaks (for size performance and more)
Date: Thu, 7 Nov 2002 21:03:04 +0000	[thread overview]
Message-ID: <20021107210304.C11437@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20021107190910.GC6164@opus.bloom.county>; from trini@kernel.crashing.org on Thu, Nov 07, 2002 at 12:09:10PM -0700

On Thu, Nov 07, 2002 at 12:09:10PM -0700, Tom Rini wrote:
> The following is vs current 2.5 BK and has been lightly tested on PPC
> (and compiled on i386).  This creates the default files for all current
> arches, and adapts ARM and ia64 as well to show how to override a
> generic param with an arch-specific one (and removes
> CONFIG_FORCE_MAX_ZONEORDER).

This isn't a "tweak" on ARM as in a user-adjustable value.  It needs to
specifically be reduced to prevent things from blowing up.

So, when SA1111-type machines are selected, the max zone order _must_
(no ifs or buts) be set to 9 or below.

> +/* This is the number of free areas per zone to manage, but the max
> + * number determines the maximum order of a page allocation request
> + * as well. */
> +/* Default: 11 */
> +#if defined(ASSABET_NEPONSET0) || defined(SA1100_ADSBITSY) || 		\
> +	defined(SA1100_BADGE4) || defined(SA1100_CONSUS) || 		\
> +	defined(SA1100_GRAPHICSMASTER) || defined(SA1100_JORNADA720) ||	\
> +	defined(ARCH_LUBBOCK) || defined(SA1100_PFS168) ||		\
> +	defined(SA1100_PT_SYSTEM3) || defined(SA1100_XP860)
> +#undef TWEAK_MAX_ORDER
> +#define TWEAK_MAX_ORDER		9
> +#endif

And the reason we have it in the configuration rather than the code is
to get rid of crap like the above.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


  parent reply	other threads:[~2002-11-07 20:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07 19:09 Tom Rini
2002-11-07 19:27 ` Andrew Morton
2002-11-07 19:33   ` Tom Rini
2002-11-07 19:44     ` Andrew Morton
2002-11-07 19:54       ` Tom Rini
2002-11-07 21:03 ` Russell King [this message]
2002-11-07 21:08   ` Russell King
2002-11-07 22:10     ` Tom Rini
2002-11-07 23:57       ` Tom Rini
2002-11-07 22:06   ` Tom Rini
2002-11-08  0:29     ` Russell King
2002-11-08  0:37       ` Tom Rini

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=20021107210304.C11437@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trini@kernel.crashing.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

all inboxes | Powered by JetHome®