Re: [bug report] mm/huge_memory: add two new (not yet used) functions for folio_split()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 12, 2025 at 10:30:26AM -0500, Zi Yan wrote:
> Hi Dan,
> 
> Thanks for reporting, but based on __split_unmmaped_folio()’s call site,
> mapping cannot be NULL when it is dereferenced. Is there a proper way to
> tell Smatch that? VM_BUG_ON(folio_test_anon(folio) || !mapping) might
> help the first case, but not sure about the second one.
> 

No, just ignore the warning.  I'll probably send another email if you
ever rename the function, but I try not to...  Thanks for taking a look
at this.

regards,
dan carpenter





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux