On Mon, Jan 27, 2014 at 07:11:22PM +0400, Cyrill Gorcunov wrote: > > + pp->pipe_max_size = 8 * PAGE_SIZE / sizeof(struct kernel_pipe_buffer); > > NR_PIPES_PER_BATCH * PAGE_SIZE ? > > Also where PAGE_ALLOC_COSTLY_ORDER is used? Sorry, misread. Probably we're to use PAGE_ALLOC_COSTLY_ORDER here.