Re: [PATCH bpf-next v6 0/6] bpf, mm: Introduce try_alloc_pages()

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

 



On Thu, Jan 23, 2025 at 07:56:49PM -0800, Alexei Starovoitov wrote:
> - Considered using __GFP_COMP in try_alloc_pages to simplify
>   free_pages_nolock a bit, but then decided to make it work
>   for all types of pages, since free_pages_nolock() is used by
>   stackdepot and currently it's using non-compound order 2.
>   I felt it's best to leave it as-is and make free_pages_nolock()
>   support all pages.

We're trying to eliminate non-use of __GFP_COMP.  Because people don't
use __GFP_COMP, there's a security check that we can't turn on.  Would
you reconsider this change you made?




[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