linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: CONFIG_PIN_TLB and telnet problems
Date: Mon, 03 Jun 2002 20:54:53 -0400	[thread overview]
Message-ID: <3CFC0FDD.1060607@embeddededge.com> (raw)
In-Reply-To: 20020531071550.GF16537@zax


David Gibson wrote:

 > ....I was unable to reproduce the problem
> on any of the other 405GP machines I have, each of which as at least
> 64MB of RAM.

As I mentioned in the first message, I suspect the problem is with the
multiple mapping/access of data in the pinned and remapped areas.  Linux
tends to allocate memory from the high end down, so if you consistent_alloc()
some space on large memory systems, you are just remapping the attributes
of a page.  If you do this on memory that is also covered by a large page,
sometimes you will get the access through this large page, and others through
an alternate mapping, which I believe confuses the MMU/cache with different
attributes (which I was assured wouldn't cause problems on 4xx).

So, if you use large pages for the first 16 or 32M, and you have only that
much memory, you will encounter mapping aliases.  If you only use large
pages for the first 16 or 32M, but have 64M or more total, then the upper
pages usually allocated to skbufs aren't subject to the large page mapping alias.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2002-06-04  0:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-31  7:15 CONFIG_PIN_TLB and telnet problems David Gibson
2002-05-31  7:27 ` David Gibson
2002-06-04  0:54 ` Dan Malek [this message]
2002-06-04  1:26   ` Paul Mackerras
2002-06-04 12:20     ` benh
2002-06-04 12:37       ` Benjamin Herrenschmidt

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=3CFC0FDD.1060607@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).