Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Guenter Roeck
On 5/26/20 9:29 AM, Mike Rapoport wrote: > On Tue, May 26, 2020 at 09:18:54AM -0700, Guenter Roeck wrote: >> On 5/26/20 7:01 AM, Will Deacon wrote: >>> On Tue, May 26, 2020 at 02:26:35PM +0100, Will Deacon wrote: On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: > On Thu, May

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Mike Rapoport
On Tue, May 26, 2020 at 09:18:54AM -0700, Guenter Roeck wrote: > On 5/26/20 7:01 AM, Will Deacon wrote: > > On Tue, May 26, 2020 at 02:26:35PM +0100, Will Deacon wrote: > >> On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: > >>> On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Guenter Roeck
On 5/26/20 7:01 AM, Will Deacon wrote: > On Tue, May 26, 2020 at 02:26:35PM +0100, Will Deacon wrote: >> On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: >>> On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: On 5/20/20 12:51 PM, Mike Rapoport wrote: > On Wed,

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Mike Rapoport
On Tue, May 26, 2020 at 03:01:27PM +0100, Will Deacon wrote: > On Tue, May 26, 2020 at 02:26:35PM +0100, Will Deacon wrote: > > On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: > > > On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: > > > > On 5/20/20 12:51 PM, Mike

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Will Deacon
On Tue, May 26, 2020 at 02:26:35PM +0100, Will Deacon wrote: > On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: > > On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: > > > On 5/20/20 12:51 PM, Mike Rapoport wrote: > > > > On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-26 Thread Will Deacon
On Sun, May 24, 2020 at 03:32:56PM +0300, Mike Rapoport wrote: > On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: > > On 5/20/20 12:51 PM, Mike Rapoport wrote: > > > On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter Roeck wrote: > > >> On 5/20/20 10:03 AM, Mike Rapoport wrote: > >

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-24 Thread Guenter Roeck
On 5/24/20 5:32 AM, Mike Rapoport wrote: > On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: >> On 5/20/20 12:51 PM, Mike Rapoport wrote: >>> On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter Roeck wrote: On 5/20/20 10:03 AM, Mike Rapoport wrote: > On Mon, May 18, 2020 at

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-24 Thread Mike Rapoport
On Thu, May 21, 2020 at 04:02:11PM -0700, Guenter Roeck wrote: > On 5/20/20 12:51 PM, Mike Rapoport wrote: > > On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter Roeck wrote: > >> On 5/20/20 10:03 AM, Mike Rapoport wrote: > >>> On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: > On

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-21 Thread Guenter Roeck
On 5/20/20 12:51 PM, Mike Rapoport wrote: > On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter Roeck wrote: >> On 5/20/20 10:03 AM, Mike Rapoport wrote: >>> On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > On Sat,

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-20 Thread Mike Rapoport
On Wed, May 20, 2020 at 12:03:31PM -0700, Guenter Roeck wrote: > On 5/20/20 10:03 AM, Mike Rapoport wrote: > > On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: > >> On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > >>> On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-20 Thread Guenter Roeck
On 5/20/20 10:03 AM, Mike Rapoport wrote: > On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: >> On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: >>> On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-20 Thread Mike Rapoport
On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > > On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > > > On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > > > > Now that the page table

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-19 Thread Guenter Roeck
On Mon, May 18, 2020 at 10:15:11PM +0300, Mike Rapoport wrote: > On Mon, May 18, 2020 at 11:09:46AM -0700, Guenter Roeck wrote: > > On 5/18/20 7:23 AM, Mike Rapoport wrote: > > > > Below is another set of bisect results, from next-20200518. It points to one > > of your commits. This is for

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Mike Rapoport
On Mon, May 18, 2020 at 11:09:46AM -0700, Guenter Roeck wrote: > On 5/18/20 7:23 AM, Mike Rapoport wrote: > > Below is another set of bisect results, from next-20200518. It points to one > of your commits. This is for microblaze (big endian) boot failures. The microblaze one was easy, as for

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Ira Weiny
On Mon, May 18, 2020 at 11:09:46AM -0700, Guenter Roeck wrote: > On 5/18/20 7:23 AM, Mike Rapoport wrote: > > On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: > >> On 5/18/20 1:37 AM, Will Deacon wrote: > >>> On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > On

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Ira Weiny
On Mon, May 18, 2020 at 09:08:11AM -0700, Guenter Roeck wrote: > On Mon, May 18, 2020 at 05:23:10PM +0300, Mike Rapoport wrote: > > On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: > > > On 5/18/20 1:37 AM, Will Deacon wrote: > > > > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Ira Weiny
On Mon, May 18, 2020 at 09:08:11AM -0700, Guenter Roeck wrote: > On Mon, May 18, 2020 at 05:23:10PM +0300, Mike Rapoport wrote: > > On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: > > > On 5/18/20 1:37 AM, Will Deacon wrote: > > > > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Guenter Roeck
On 5/18/20 7:23 AM, Mike Rapoport wrote: > On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: >> On 5/18/20 1:37 AM, Will Deacon wrote: >>> On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > On Mon,

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Guenter Roeck
On Mon, May 18, 2020 at 05:23:10PM +0300, Mike Rapoport wrote: > On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: > > On 5/18/20 1:37 AM, Will Deacon wrote: > > > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > > >> On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Mike Rapoport
On Mon, May 18, 2020 at 02:48:18AM -0700, Guenter Roeck wrote: > On 5/18/20 1:37 AM, Will Deacon wrote: > > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > >> On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > >>> On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Guenter Roeck
On 5/18/20 1:37 AM, Will Deacon wrote: > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: >> On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: >>> On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: Now that the page table allocator can free page table

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Mike Rapoport
On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: > On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > > On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > > > On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > > > > Now that the page table

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-18 Thread Will Deacon
On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > > On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > > > Now that the page table allocator can free page table allocations > > > smaller than PAGE_SIZE,

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-16 Thread Guenter Roeck
On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > > Now that the page table allocator can free page table allocations > > smaller than PAGE_SIZE, reduce the size of the PMD and PTE allocations > > to avoid needlessly

Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-16 Thread Guenter Roeck
On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > Now that the page table allocator can free page table allocations > smaller than PAGE_SIZE, reduce the size of the PMD and PTE allocations > to avoid needlessly wasting memory. > > Cc: "David S. Miller" > Cc: Peter Zijlstra >

[PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables

2020-05-11 Thread Will Deacon
Now that the page table allocator can free page table allocations smaller than PAGE_SIZE, reduce the size of the PMD and PTE allocations to avoid needlessly wasting memory. Cc: "David S. Miller" Cc: Peter Zijlstra Signed-off-by: Will Deacon --- arch/sparc/include/asm/pgtsrmmu.h | 4 ++-- 1