lkml.org 
[lkml]   [2020]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] mm: include CMA pages in lowmem_reserve at boot
From
Date
On 8/19/2020 10:40 AM, Andrew Morton wrote:
> On Wed, 19 Aug 2020 10:30:25 -0700 Florian Fainelli <f.fainelli@gmail.com> wrote:
>
>> On 8/19/20 10:22 AM, Andrew Morton wrote:
>>> On Wed, 19 Aug 2020 10:15:53 -0700 Florian Fainelli <f.fainelli@gmail.com> wrote:
>>>
>>>>>> In many cases the difference is not significant, but for example
>>>>>> an ARM platform with 1GB of memory and the following memory layout
>>>>>> [ 0.000000] cma: Reserved 256 MiB at 0x0000000030000000
>>>>>> [ 0.000000] Zone ranges:
>>>>>> [ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
>>>>>> [ 0.000000] Normal empty
>>>>>> [ 0.000000] HighMem [mem 0x0000000030000000-0x000000003fffffff]
>>>>>>
>>>>>> would result in 0 lowmem_reserve for the DMA zone. This would allow
>>>>>> userspace to deplete the DMA zone easily.
>>>>>
>>>>> Sounds fairly serious for thos machines. Was a cc:stable considered?
>>>>
>>>> Since there is a Fixes: tag, it may have been assumed that the patch
>>>> would be picked up and as soon as it reaches Linus' tree it would be
>>>> picked up by the stable selection.
>>>
>>> It doesn't work that way - sometimes a fix isn't considered important
>>> enough to backport. It could just fix a typo in a comment!
>>
>> Then can this be applied ASAP and back ported?
>
> Sure.
>
As Florian guessed, I assumed the Fixes: tag was a sufficient clue since
I wouldn't normally apply a Fixes tag to a typo correction in a comment.
I suspect I have been spoiled by David Miller :).

Thanks for the quick turn-around and applying the cc:stable to the mmotm,
Doug

\
 
 \ /
  Last update: 2020-08-20 02:31    [W:0.050 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site