From: Mikulas Patocka <mpatocka@redhat.com>
To: Helge Deller <deller@gmx.de>
Cc: John David Anglin <dave.anglin@bell.net>, linux-parisc@vger.kernel.org
Subject: Re: [PATCH][RFC] parisc: Use per-pagetable spinlock (v2)
Date: Thu, 2 May 2019 13:40:51 -0400 (EDT) [thread overview]
Message-ID: <alpine.LRH.2.02.1905021340230.32620@file01.intranet.prod.int.rdu2.redhat.com> (raw)
In-Reply-To: <a98ef81b-cd8e-b81d-df24-8c508e8a01b0@gmx.de>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1609 bytes --]
On Thu, 2 May 2019, Helge Deller wrote:
> On 02.05.19 16:34, John David Anglin wrote:
> > On 2019-05-02 9:43 a.m., Mikulas Patocka wrote:
> >> My obeservation is:
> >>
> >> CONFIG_FLATMEM_MANUAL=y - doesn't compile. With the Helge's patch, it
> >> compiles and works - but it only sees the first 1GiB of memory.
> > I didn't test FLATMEM.
>
> It should compile now if you check out the for-next branch again.
> And it only sees 1GiB of memory, which is correct for FLATMEM.
> Instead it tells you to turn on CONFIG_SPARSEMEM:
>
> [0.000000] Large gap in memory detected (786432 pages). Consider turning on CONFIG_SPARSEMEM
> [0.000000] Memory Ranges:
> [0.000000] 0) Start 0x0000000000000000 End 0x000000003fffffff Size 1024 MB
> [0.000000] Total Memory: 1024 MB
> ..
>
> >> CONFIG_SPARSEMEM_MANUAL=y, CONFIG_SPARSEMEM_VMEMMAP=n - works.
> >> CONFIG_SPARSEMEM_MANUAL=y, CONFIG_SPARSEMEM_VMEMMAP=y - hangs on boot.
> > I thought I selected CONFIG_SPARSEMEM_VMEMMAP but will check. Have multiple
> > builds with original SPARSEMEM patch that were okay.
>
> It sometimes hung for me too.
> I think my VMEMMAP patch overwrites other memory and thus only sometimes crashes the machine...
>
> By the way, I've rebased my for-next tree, fixed a few small issues and dropped the VMEMMAP patch for now.
> Please give it a new try:
> https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next
OK. I confirm that this branch works.
Mikulas
> In addition I addded a for-next-testing branch for further testing of the remaining patches (VMEMMAP, JUMP_LABEL, ...).
>
> Helge
>
next prev parent reply other threads:[~2019-05-02 17:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-28 17:34 [PATCH][RFC] parisc: Use per-pagetable spinlock (v2) Helge Deller
2019-05-01 14:22 ` Mikulas Patocka
2019-05-01 14:34 ` Helge Deller
2019-05-01 16:21 ` Mikulas Patocka
2019-05-02 1:27 ` John David Anglin
2019-05-02 13:43 ` Mikulas Patocka
2019-05-02 14:34 ` John David Anglin
2019-05-02 16:14 ` Helge Deller
2019-05-02 17:40 ` Mikulas Patocka [this message]
2019-05-03 11:58 ` John David Anglin
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=alpine.LRH.2.02.1905021340230.32620@file01.intranet.prod.int.rdu2.redhat.com \
--to=mpatocka@redhat.com \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=linux-parisc@vger.kernel.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).