lkml.org 
[lkml]   [2023]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 0/4] zsmalloc: make zspage chain size configurable
On (23/01/14 13:34), Mike Kravetz wrote:
> I did the following:
>
> - Start with clean v6.2-rc3
> Perform echo, did not see issue
>
> - Applied your 5 patches (includes the zsmalloc: turn chain size config option
> into UL constant patch). Took default value for ZSMALLOC_CHAIN_SIZE of 8.
> Performed echo, recreated issue.
>
> - Changed ZSMALLOC_CHAIN_SIZE to 1.
> Perform echo, did not see issue

The patch set basically just adjusts $NUM in calculate_zspage_chain_size():

for (i = 1; i <= $NUM; i++)

It changes default 4 to 8. Can't really see how this can cause problems.

\
 
 \ /
  Last update: 2023-03-26 23:41    [W:0.187 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site