Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-07-08 Thread Christopher M. Riedl
On Thu Jul 1, 2021 at 2:37 AM CDT, Nicholas Piggin wrote: > Excerpts from Christopher M. Riedl's message of July 1, 2021 4:53 pm: > > On Thu Jul 1, 2021 at 1:04 AM CDT, Nicholas Piggin wrote: > >> Excerpts from Christopher M. Riedl's message of July 1, 2021 3:28 pm: > >> > On Wed Jun 30, 2021 at

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-07-01 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of July 1, 2021 5:37 pm: > Excerpts from Christopher M. Riedl's message of July 1, 2021 4:53 pm: >> On Thu Jul 1, 2021 at 1:04 AM CDT, Nicholas Piggin wrote: >>> Excerpts from Christopher M. Riedl's message of July 1, 2021 3:28 pm: >>> > On Wed Jun 30, 2021

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-07-01 Thread Nicholas Piggin
Excerpts from Christopher M. Riedl's message of July 1, 2021 4:53 pm: > On Thu Jul 1, 2021 at 1:04 AM CDT, Nicholas Piggin wrote: >> Excerpts from Christopher M. Riedl's message of July 1, 2021 3:28 pm: >> > On Wed Jun 30, 2021 at 11:15 PM CDT, Nicholas Piggin wrote: >> >> Excerpts from

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-07-01 Thread Christopher M. Riedl
On Thu Jul 1, 2021 at 1:04 AM CDT, Nicholas Piggin wrote: > Excerpts from Christopher M. Riedl's message of July 1, 2021 3:28 pm: > > On Wed Jun 30, 2021 at 11:15 PM CDT, Nicholas Piggin wrote: > >> Excerpts from Christopher M. Riedl's message of July 1, 2021 1:48 pm: > >> > On Sun Jun 20, 2021 at

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-07-01 Thread Nicholas Piggin
Excerpts from Christopher M. Riedl's message of July 1, 2021 3:28 pm: > On Wed Jun 30, 2021 at 11:15 PM CDT, Nicholas Piggin wrote: >> Excerpts from Christopher M. Riedl's message of July 1, 2021 1:48 pm: >> > On Sun Jun 20, 2021 at 10:13 PM CDT, Daniel Axtens wrote: >> >> "Christopher M. Riedl"

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-06-30 Thread Christopher M. Riedl
On Wed Jun 30, 2021 at 11:15 PM CDT, Nicholas Piggin wrote: > Excerpts from Christopher M. Riedl's message of July 1, 2021 1:48 pm: > > On Sun Jun 20, 2021 at 10:13 PM CDT, Daniel Axtens wrote: > >> "Christopher M. Riedl" writes: > >> > >> > Switching to a different mm with Hash translation

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-06-30 Thread Nicholas Piggin
Excerpts from Christopher M. Riedl's message of July 1, 2021 1:48 pm: > On Sun Jun 20, 2021 at 10:13 PM CDT, Daniel Axtens wrote: >> "Christopher M. Riedl" writes: >> >> > Switching to a different mm with Hash translation causes SLB entries to >> > be preloaded from the current thread_info. This

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-06-30 Thread Christopher M. Riedl
On Sun Jun 20, 2021 at 10:13 PM CDT, Daniel Axtens wrote: > "Christopher M. Riedl" writes: > > > Switching to a different mm with Hash translation causes SLB entries to > > be preloaded from the current thread_info. This reduces SLB faults, for > > example when threads share a common mm but

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-06-20 Thread Daniel Axtens
"Christopher M. Riedl" writes: > Switching to a different mm with Hash translation causes SLB entries to > be preloaded from the current thread_info. This reduces SLB faults, for > example when threads share a common mm but operate on different address > ranges. > > Preloading entries from the

[RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-05-05 Thread Christopher M. Riedl
Switching to a different mm with Hash translation causes SLB entries to be preloaded from the current thread_info. This reduces SLB faults, for example when threads share a common mm but operate on different address ranges. Preloading entries from the thread_info struct may not always be