lkml.org 
[lkml]   [2020]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] microblaze: Remove noMMU code
From
Date


On 25. 11. 20 13:57, Arnd Bergmann wrote:
> On Wed, Nov 25, 2020 at 1:14 PM Michal Simek <michal.simek@xilinx.com> wrote:
>>
>> And second part. I know I removed that Kconfig macros for it but maybe
>> good to talk about what needs to change to support different page size
>> for systems with MMU.
>
> I would recommend just leaving it hardwired to 4K. The benefits of larger
> pages are rather questionable, especially on systems without tons of
> RAM, and it's an endless source of problems.
>
> The commit that added the option, ba9c4f88d747 ("microblaze: Allow
> PAGE_SIZE configuration"), was rather nebulous with "can improve
> performance on some workloads".
>
> On PowerPC, the benefits of larger pages are mainly for the hashed
> page table code, which I don't think exists anywhere else.

Is there any standard benchmark to see if there is really any benefit?
Exchanging tbl is quite expensive operation that's why there could be
good improvement.

But not a problem to remove it for now and get it back when this is
properly tested.

Thanks,
Michal

\
 
 \ /
  Last update: 2020-11-25 14:03    [W:0.151 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site