Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Pavel Tatashin
On 10/17/18 12:31 PM, Alexander Duyck wrote: > On 10/17/2018 8:40 AM, David Laight wrote: >> From: Pavel Tatashin >>> Sent: 17 October 2018 16:12 >>> On 10/17/18 11:07 AM, Alexander Duyck wrote: On 10/17/2018 1:47 AM, Michal Hocko wrote: > On Mon 15-10-18 13:26:56, Alexander Duyck wrote

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Michal Hocko
On Wed 17-10-18 08:07:06, Alexander Duyck wrote: > On 10/17/2018 1:47 AM, Michal Hocko wrote: > > On Mon 15-10-18 13:26:56, Alexander Duyck wrote: [...] > > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > > index bb0de406f8e7..ec6e57a0c14e 100644 > > > --- a/include/linux/mm.h > > > +++

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Alexander Duyck
On 10/17/2018 8:40 AM, David Laight wrote: From: Pavel Tatashin Sent: 17 October 2018 16:12 On 10/17/18 11:07 AM, Alexander Duyck wrote: On 10/17/2018 1:47 AM, Michal Hocko wrote: On Mon 15-10-18 13:26:56, Alexander Duyck wrote: This change makes it so that we use the same approach that was a

RE: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread David Laight
From: Pavel Tatashin > Sent: 17 October 2018 16:12 > On 10/17/18 11:07 AM, Alexander Duyck wrote: > > On 10/17/2018 1:47 AM, Michal Hocko wrote: > >> On Mon 15-10-18 13:26:56, Alexander Duyck wrote: > >>> This change makes it so that we use the same approach that was > >>> already in > >>> use on S

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Pavel Tatashin
On 10/17/18 11:07 AM, Alexander Duyck wrote: > On 10/17/2018 1:47 AM, Michal Hocko wrote: >> On Mon 15-10-18 13:26:56, Alexander Duyck wrote: >>> This change makes it so that we use the same approach that was >>> already in >>> use on Sparc on all the archtectures that support a 64b long. >>> >>

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Alexander Duyck
On 10/17/2018 1:47 AM, Michal Hocko wrote: On Mon 15-10-18 13:26:56, Alexander Duyck wrote: This change makes it so that we use the same approach that was already in use on Sparc on all the archtectures that support a 64b long. This is mostly motivated by the fact that 8 to 10 store/move instru

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Alexander Duyck
On 10/17/2018 12:30 AM, Mike Rapoport wrote: On Tue, Oct 16, 2018 at 03:01:11PM -0400, Pavel Tatashin wrote: On 10/15/18 4:26 PM, Alexander Duyck wrote: This change makes it so that we use the same approach that was already in use on Sparc on all the archtectures that support a 64b long. Thi

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Michal Hocko
On Mon 15-10-18 13:26:56, Alexander Duyck wrote: > This change makes it so that we use the same approach that was already in > use on Sparc on all the archtectures that support a 64b long. > > This is mostly motivated by the fact that 8 to 10 store/move instructions > are likely always going to be

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Mike Rapoport
On Tue, Oct 16, 2018 at 03:01:11PM -0400, Pavel Tatashin wrote: > > > On 10/15/18 4:26 PM, Alexander Duyck wrote: > > This change makes it so that we use the same approach that was already in > > use on Sparc on all the archtectures that support a 64b long. > > > > This is mostly motivated by th

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-16 Thread Pavel Tatashin
On 10/15/18 4:26 PM, Alexander Duyck wrote: > This change makes it so that we use the same approach that was already in > use on Sparc on all the archtectures that support a 64b long. > > This is mostly motivated by the fact that 8 to 10 store/move instructions > are likely always going to be f

[mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-15 Thread Alexander Duyck
This change makes it so that we use the same approach that was already in use on Sparc on all the archtectures that support a 64b long. This is mostly motivated by the fact that 8 to 10 store/move instructions are likely always going to be faster than having to call into a function that is not spe