From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f71.google.com (mail-it0-f71.google.com [209.85.214.71]) by kanga.kvack.org (Postfix) with ESMTP id 5E85E6B0253 for ; Fri, 15 Dec 2017 16:46:55 -0500 (EST) Received: by mail-it0-f71.google.com with SMTP id e41so16400655itd.5 for ; Fri, 15 Dec 2017 13:46:55 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a124sor3556175itg.111.2017.12.15.13.46.53 for (Google Transport Security); Fri, 15 Dec 2017 13:46:54 -0800 (PST) Date: Fri, 15 Dec 2017 13:46:50 -0800 (PST) From: David Rientjes Subject: Re: [patch v2 2/2] mm, oom: avoid reaping only for mm's with blockable invalidate callbacks In-Reply-To: <20171215163534.GB16951@dhcp22.suse.cz> Message-ID: References: <20171215163534.GB16951@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , Andrea Arcangeli , Benjamin Herrenschmidt , Paul Mackerras , Oded Gabbay , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , David Airlie , Joerg Roedel , Doug Ledford , Jani Nikula , Mike Marciniszyn , Sean Hefty , Dimitri Sivanich , Boris Ostrovsky , =?UTF-8?Q?J=C3=A9r=C3=B4me_Glisse?= , Paolo Bonzini , =?UTF-8?Q?Radim_Kr=C4=8Dm=C3=A1=C5=99?= , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Fri, 15 Dec 2017, Michal Hocko wrote: > > This uses the new annotation to determine if an mm has mmu notifiers with > > blockable invalidate range callbacks to avoid oom reaping. Otherwise, the > > callbacks are used around unmap_page_range(). > > Do you have any example where this helped? KVM guest oom killed I guess? > KVM is the most significant one that we are interested in, but haven't had sufficient time to quantify how much of an impact this has other than to say it will certainly be non-zero. The motivation was more to exclude mmu notifiers that have a reason to be excluded rather than a blanket exemption to make the oom reaper more robust. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org