[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240325130530.GA6245@nvidia.com>
Date: Mon, 25 Mar 2024 10:05:30 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: peterx@...hat.com
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
SeongJae Park <sj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...nel.org>,
Matthew Wilcox <willy@...radead.org>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] mm/arch: Provide pud_pfn() fallback
On Sat, Mar 23, 2024 at 11:16:43AM -0400, peterx@...hat.com wrote:
> From: Peter Xu <peterx@...hat.com>
>
> The comment in the code explains the reasons. We took a different approach
> comparing to pmd_pfn() by providing a fallback function.
>
> Another option is to provide some lower level config options (compare to
> HUGETLB_PAGE or THP) to identify which layer an arch can support for such
> huge mappings. However that can be an overkill.
>
> Cc: Mike Rapoport (IBM) <rppt@...nel.org>
> Cc: Matthew Wilcox <willy@...radead.org>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202403231529.HRev1zcD-lkp@intel.com/
> Signed-off-by: Peter Xu <peterx@...hat.com>
> ---
Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
Jason
Powered by blists - more mailing lists