From: Tejun Heo Subject: Re: lost connection to test machine (4) Date: Mon, 12 Feb 2018 09:03:25 -0800 Message-ID: <20180212170325.GW695913@devbig577.frc2.facebook.com> References: <001a113f8734783e94056505f8fd@google.com> <00c45ca8-305d-1818-e974-a9903c8494b8@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dennisszhou@gmail.com, Dmitry Vyukov , syzbot , Alexei Starovoitov , netdev , LKML , syzkaller-bugs@googlegroups.com To: Daniel Borkmann Return-path: Content-Disposition: inline In-Reply-To: <00c45ca8-305d-1818-e974-a9903c8494b8@iogearbox.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hello, Daniel. On Mon, Feb 12, 2018 at 06:00:13PM +0100, Daniel Borkmann wrote: > [ +Dennis, +Tejun ] > > Looks like we're stuck in percpu allocator with key/value size of 4 bytes > each and large number of entries (max_entries) in the reproducer in above > link. > > Could we have some __GFP_NORETRY semantics and let allocations fail instead > of triggering OOM killer? For some part, maybe, but not generally. The virt area allocation goes down to page table allocation which is hard coded to use GFP_KERNEL in arch mm code. Thanks. -- tejun