lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13f3fcda-7328-4aa5-afc6-75a294a82b2a@nvidia.com>
Date: Tue, 10 Feb 2026 08:57:01 +1100
From: Balbir Singh <balbirs@...dia.com>
To: "David Hildenbrand (Arm)" <david@...nel.org>,
 linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
 linux-mm@...ck.org
Cc: akpm@...ux-foundation.org, Zi Yan <ziy@...dia.com>,
 Joshua Hahn <joshua.hahnjy@...il.com>, Rakie Kim <rakie.kim@...com>,
 Byungchul Park <byungchul@...com>, Gregory Price <gourry@...rry.net>,
 Ying Huang <ying.huang@...ux.alibaba.com>,
 Alistair Popple <apopple@...dia.com>, Oscar Salvador <osalvador@...e.de>,
 Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
 Baolin Wang <baolin.wang@...ux.alibaba.com>,
 "Liam R. Howlett" <Liam.Howlett@...cle.com>, Nico Pache <npache@...hat.com>,
 Ryan Roberts <ryan.roberts@....com>, Dev Jain <dev.jain@....com>,
 Barry Song <baohua@...nel.org>, Lyude Paul <lyude@...hat.com>,
 Danilo Krummrich <dakr@...nel.org>, David Airlie <airlied@...il.com>,
 Simona Vetter <simona@...ll.ch>, Ralph Campbell <rcampbell@...dia.com>,
 Mika Penttilä <mpenttil@...hat.com>,
 Matthew Brost <matthew.brost@...el.com>,
 Francois Dugast <francois.dugast@...el.com>
Subject: Re: [v7 11/16] mm/migrate_device: add THP splitting during migration

On 2/10/26 03:00, David Hildenbrand (Arm) wrote:
> 
>> index 8c95a658b3ec..022b0729f826 100644
>> --- a/mm/huge_memory.c
>> +++ b/mm/huge_memory.c
>> @@ -3463,15 +3463,6 @@ static void __split_folio_to_order(struct folio *folio, int old_order,
>>           new_folio->mapping = folio->mapping;
>>           new_folio->index = folio->index + i;
>>   -        /*
>> -         * page->private should not be set in tail pages. Fix up and warn once
>> -         * if private is unexpectedly set.
>> -         */
>> -        if (unlikely(new_folio->private)) {
>> -            VM_WARN_ON_ONCE_PAGE(true, new_head);
>> -            new_folio->private = NULL;
>> -        }
>> -
> 
> Balbir, why did you drop this check?
> 

Are we running into this somewhere? This change clearly seems unrelated to the intent of the
patch that made this change (by me). I was seeing new_folio->private as NULL everywhere during
my testing and so I removed the check, happy to bring this defensive test back.

Balbir

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ