On Mon, Apr 18, 2016 at 3:48 PM, Eric Dumazet <eric.duma...@gmail.com> wrote: > On Sun, 2016-04-17 at 17:29 -0700, Eric Dumazet wrote: > >> >> If really you need to allocate physically contiguous memory, have you >> considered converting the order-5 pages into 32 order-0 ones ? > > Search for split_page() call sites for examples. > >
Thanks Eric, we are already evaluating split_page as we speak. We did look but could not find any specific alloc_pages API that allocates many physically contiguous pages with order0 ! so we assume it is ok to use split_page. BTW our MPWQE solution doesn't totally rely on huge physically contiguous memory, as you see in the next two patches we introduce a fragmented MPWQE approach as a fallback, but we do understand your concern for the normal flow.