On Tue, Apr 22, 2025 at 2:27 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Tue, Apr 22, 2025 at 02:10:53PM +0800, Qingfang Deng wrote:
On Tue, Apr 22, 2025 at 2:06 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
All mm patches MUST get approval from the mm maintainers/developers before we can apply them to stable kernels.
Can you please do that here?
Sure. Added to Cc list.
They have no context here at all :(
Let me post it again:
Please consider applying d2155fe54ddb ("mm: compaction: remove duplicate !list_empty(&sublist) check") to 5.10 and 5.4, as it resolves a -Wdangling-pointer warning in recent GCC versions:
In function '__list_cut_position', inlined from 'list_cut_position' at ./include/linux/list.h:400:3, inlined from 'move_freelist_tail' at mm/compaction.c:1241:3: ./include/linux/list.h:370:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.15621.D.15566.lru.next' [-Wdangling-pointer=]