Re: [PATCH v3 2/6] mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2020-12-14 Thread Pavel Tatashin
On Mon, Dec 14, 2020 at 9:03 AM Michal Hocko wrote: > > On Fri 11-12-20 15:21:36, Pavel Tatashin wrote: > > PF_MEMALLOC_NOCMA is used ot guarantee that the allocator will not return > > pages that might belong to CMA region. This is currently used for long > > term gup to make sure that such pins

Re: [PATCH v3 2/6] mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2020-12-14 Thread Michal Hocko
On Fri 11-12-20 15:21:36, Pavel Tatashin wrote: > PF_MEMALLOC_NOCMA is used ot guarantee that the allocator will not return > pages that might belong to CMA region. This is currently used for long > term gup to make sure that such pins are not going to be done on any CMA > pages. > > When PF_MEMAL

[PATCH v3 2/6] mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2020-12-11 Thread Pavel Tatashin
PF_MEMALLOC_NOCMA is used ot guarantee that the allocator will not return pages that might belong to CMA region. This is currently used for long term gup to make sure that such pins are not going to be done on any CMA pages. When PF_MEMALLOC_NOCMA has been introduced we haven't realized that it is