[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190322133330.GB32464@infradead.org>
Date: Fri, 22 Mar 2019 06:33:30 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Anup Patel <Anup.Patel@....com>
Cc: Palmer Dabbelt <palmer@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Mike Rapoport <rppt@...ux.ibm.com>,
Christoph Hellwig <hch@...radead.org>,
Atish Patra <Atish.Patra@....com>,
Paul Walmsley <paul.walmsley@...ive.com>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>
Subject: Re: [PATCH v2 4/5] RISC-V: Remove redundant trampoline page table
>
> - /* Compute satp for kernel page tables, but don't load it yet */
> + /* Compute satp for kernel page directory, but don't load it yet */
> /*
> - * Load trampoline page directory, which will cause us to trap to
> + * Load kernel page directory, which will cause us to trap to
> * stvec if VA != PA, or simply fall through if VA == PA
> */
If we want to nitpick comments I think this should take about the
page table root or something like that.
Otherwise the idea looks good, but I really think we should do this
before all the changes to the setup_vm code.
Powered by blists - more mailing lists