Re: [PATCH] mm/page: Drop has_unaccepted_memory() helper

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

 



On Mon, Sep 09, 2024 at 12:25:58PM -0700, Andrew Morton wrote:
> On Mon,  9 Sep 2024 11:19:30 +0300 "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> wrote:
> 
> > has_unaccepted_memory() has the only caller -- cond_accept_memory().
> > 
> > Remove the helper and check zones_with_unaccepted_pages directly in
> > cond_accept_memory().
> > 
> > It also fixes warning with clang 18 when kernel is compiled without
> > unaccepted memory support:
> > 
> >  mm/page_alloc.c:7043:20: error: unused function 'has_unaccepted_memory' [-Werror,-Wunused-function]
> > 
> 
> Thanks, mm-unstable has a similar fix:

Works for me.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov




[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