linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: RashmicaGupta <rashmicy@gmail.com>
To: Anshuman Khandual <khandual@linux.vnet.ibm.com>,
	Rashmica Gupta <rashmica.g@gmail.com>,
	linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au
Subject: Re: [PATCH] powerpc/mm: Dump hash table
Date: Mon, 10 Apr 2017 15:14:11 +1000	[thread overview]
Message-ID: <2ce28fb7-9dce-c35d-d0a7-f09b2f147195@gmail.com> (raw)
In-Reply-To: <3b8a7252-dc80-8c04-2df8-4dca17348f8f@linux.vnet.ibm.com>



On 10/04/17 14:02, Anshuman Khandual wrote:
> On 04/10/2017 07:34 AM, Rashmica Gupta wrote:
>> Current behaviour assumes that memory in RAM is contiguous and
>> iterates from the start of RAM to (start + size of memory). When the
>> memory isn't physically contiguous, this approach doesn't work.
> In dis contiguous platform, we just finish up walking linear
> mapping prematurely before the end of the RAM ?
Yes, that is what the following example explains.
>
>> If memory exists at 0-5 GB and 6-10 GB then the current approach will
>> check if entries exist in the hash table from 0GB to 9GB. This patch
>> changes the behaviour to iterate up to the end of RAM.
> So it fixes the commit which added memblock_phys_mem_size().
> Hence needs "Fixes: " tag as well.
>
Woops, will add that!

  reply	other threads:[~2017-04-10  5:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10  2:04 [PATCH] powerpc/mm: Dump hash table Rashmica Gupta
2017-04-10  4:02 ` Anshuman Khandual
2017-04-10  5:14   ` RashmicaGupta [this message]
2017-04-13 11:23 ` Michael Ellerman

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=2ce28fb7-9dce-c35d-d0a7-f09b2f147195@gmail.com \
    --to=rashmicy@gmail.com \
    --cc=khandual@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=rashmica.g@gmail.com \
    /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).