From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932856AbbI3VPO (ORCPT ); Wed, 30 Sep 2015 17:15:14 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34821 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932595AbbI3VPL (ORCPT ); Wed, 30 Sep 2015 17:15:11 -0400 Date: Wed, 30 Sep 2015 14:15:09 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Oleg Nesterov cc: Andrew Morton , Kyle Walker , Michal Hocko , Stanislav Kozina , Tetsuo Handa , linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm v2 2/3] mm/oom_kill: cleanup the "kill sharing same memory" loop In-Reply-To: <20150930182408.GA15247@redhat.com> Message-ID: References: <20150930182408.GA15247@redhat.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Sep 2015, Oleg Nesterov wrote: > Purely cosmetic, but the complex "if" condition looks annoying to me. > Especially because it is not consistent with OOM_SCORE_ADJ_MIN check > which adds another if/continue. > > Signed-off-by: Oleg Nesterov Acked-by: David Rientjes