Re: [PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers

2020-06-24 Thread Andrew Morton
On Wed, 24 Jun 2020 18:01:31 +0100 Matthew Wilcox wrote: > On Wed, Jun 24, 2020 at 12:49:43PM -0400, Joel Savitz wrote: > > When I increased the upper bound of the min_free_kbytes value in > > ee8eb9a5fe863, I forgot to tweak the above comment to reflect > > the new value. This patch fixes that m

Re: [PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers

2020-06-24 Thread Matthew Wilcox
On Wed, Jun 24, 2020 at 12:49:43PM -0400, Joel Savitz wrote: > When I increased the upper bound of the min_free_kbytes value in > ee8eb9a5fe863, I forgot to tweak the above comment to reflect > the new value. This patch fixes that mistake. > > In addition, this patch replaces the magic number boun

[PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers

2020-06-24 Thread Joel Savitz
When I increased the upper bound of the min_free_kbytes value in ee8eb9a5fe863, I forgot to tweak the above comment to reflect the new value. This patch fixes that mistake. In addition, this patch replaces the magic number bounds with symbolic constants to clarify the logic. changes from v1: - de