Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-29 Thread Alex Ghiti
Hi Atish, Le 6/22/20 à 3:11 PM, Atish Patra a écrit : On Sun, Jun 21, 2020 at 2:39 AM Alex Ghiti wrote: Hi Atish, Le 6/20/20 à 5:04 AM, Alex Ghiti a écrit : Hi Atish, Le 6/19/20 à 2:16 PM, Atish Patra a écrit : On Thu, Jun 18, 2020 at 9:28 PM Alex Ghiti wrote: Hi Atish, Le 6/18/20 à 8:

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-22 Thread Atish Patra
On Sun, Jun 21, 2020 at 2:39 AM Alex Ghiti wrote: > > Hi Atish, > > Le 6/20/20 à 5:04 AM, Alex Ghiti a écrit : > > Hi Atish, > > > > Le 6/19/20 à 2:16 PM, Atish Patra a écrit : > >> On Thu, Jun 18, 2020 at 9:28 PM Alex Ghiti wrote: > >>> Hi Atish, > >>> > >>> Le 6/18/20 à 8:47 PM, Atish Patra a é

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-21 Thread Alex Ghiti
Hi Atish, Le 6/20/20 à 5:04 AM, Alex Ghiti a écrit : Hi Atish, Le 6/19/20 à 2:16 PM, Atish Patra a écrit : On Thu, Jun 18, 2020 at 9:28 PM Alex Ghiti wrote: Hi Atish, Le 6/18/20 à 8:47 PM, Atish Patra a écrit : On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: Improve best_map_size so

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-20 Thread Alex Ghiti
Hi Atish, Le 6/19/20 à 2:16 PM, Atish Patra a écrit : On Thu, Jun 18, 2020 at 9:28 PM Alex Ghiti wrote: Hi Atish, Le 6/18/20 à 8:47 PM, Atish Patra a écrit : On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: Improve best_map_size so that PUD or PGDIR entries are used for linear mapping

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-19 Thread Atish Patra
On Thu, Jun 18, 2020 at 9:28 PM Alex Ghiti wrote: > > Hi Atish, > > Le 6/18/20 à 8:47 PM, Atish Patra a écrit : > > On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: > >> Improve best_map_size so that PUD or PGDIR entries are used for linear > >> mapping when possible as it allows better TLB

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-18 Thread Alex Ghiti
Hi Atish, Le 6/18/20 à 8:47 PM, Atish Patra a écrit : On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: Improve best_map_size so that PUD or PGDIR entries are used for linear mapping when possible as it allows better TLB utilization. Signed-off-by: Alexandre Ghiti --- arch/riscv/mm/ini

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-18 Thread Atish Patra
On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: > > Improve best_map_size so that PUD or PGDIR entries are used for linear > mapping when possible as it allows better TLB utilization. > > Signed-off-by: Alexandre Ghiti > --- > arch/riscv/mm/init.c | 45 +

[PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-03 Thread Alexandre Ghiti
Improve best_map_size so that PUD or PGDIR entries are used for linear mapping when possible as it allows better TLB utilization. Signed-off-by: Alexandre Ghiti --- arch/riscv/mm/init.c | 45 +--- 1 file changed, 34 insertions(+), 11 deletions(-) diff --g