Re: [PATCH] fs, seqfile: always allow oom killer

2015-09-25 Thread Eric Dumazet
On Fri, 2015-09-25 at 00:43 -0700, Greg Thelen wrote: > Since commit 5cec38ac866b ("fs, seq_file: fallback to vmalloc instead of > oom kill processes") seq_buf_alloc() avoids calling the oom killer for > PAGE_SIZE or smaller allocations; but larger allocations can use the oom > killer via vmalloc()

[PATCH] fs, seqfile: always allow oom killer

2015-09-25 Thread Greg Thelen
Since commit 5cec38ac866b ("fs, seq_file: fallback to vmalloc instead of oom kill processes") seq_buf_alloc() avoids calling the oom killer for PAGE_SIZE or smaller allocations; but larger allocations can use the oom killer via vmalloc(). Thus reads of small files can return ENOMEM, but larger fil