Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3063992ima; Mon, 22 Oct 2018 23:00:27 -0700 (PDT) X-Google-Smtp-Source: AJdET5fIUvrQqDs8J0yhbQBNvJpIZJ8DQhuRePX20AcMqsE6CbFlBtH+HnxB+JwSaKqSpBayKNbq X-Received: by 2002:a63:413:: with SMTP id 19mr6603459pge.7.1540274427084; Mon, 22 Oct 2018 23:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540274427; cv=none; d=google.com; s=arc-20160816; b=omTm8ORCY/9EwIyF+OPrI9ywU/cvVyssJQNrFYXhdIikc6HwTO8Qrri4RrwLq5rFQM fqbUu32QBtMlBx7/is1ed1lidWiw7scVW3kZ5nfM0efr1YhJYCtE5U7LROoHn1vdgHBh WIYrTqPyzkCy2i0kpzKQS5iDW4P4pOgOnSAj2dJwRZv5MoRZiMaAqJCxzAvfGfJAQHbv C110qTt5seApo8tiSTJxAT4O94/HGz5twYN8ost3TRFDP3NNKfbkilPv1krzoSlHm79U p85Oew0rmxdnNfnVvNciTwc6dcRqZmnXqgzyJ5qBoRxo/2jofOjoULkDhFn7+MphfuYd 1HIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zpBcI3qK7qitasvLHLodddut/l74PRmieGcZpTtnvVA=; b=emHkkXOKbAWDCaT/BpPk5D97rs/Qpnq3vNgw4xBRE/9uZjfoX4092ppOsRI7ia2PQV IHGENkRpYNmPgvwzSeP5YWiSdHhb91HlT3bjH4MI5YdFONEoCZkT+2reH1oS5i0gYu8t P96pnrgpYgZqytX/ip6Jc+xQ6cIFdnUxgSK6xmj+tipeuE33tfz5xc+zDhZM91QF57qB rwj4gyLUBTUyQ87V0gJvifAyc7kTFBwwY9FOrHn5cXDJ6VmypKMO2aJjLswjJBvzFI64 nTNpeiUAvYIfjBAyN0VURfEZinN43WShscw0/pvaJdydoBJ0Sl5quYrNWXNLr8jAVipX q20w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g40-v6si274844plb.237.2018.10.22.23.00.11; Mon, 22 Oct 2018 23:00:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbeJWOSu (ORCPT + 99 others); Tue, 23 Oct 2018 10:18:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:37122 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726764AbeJWOSu (ORCPT ); Tue, 23 Oct 2018 10:18:50 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E5C14ACB5; Tue, 23 Oct 2018 05:56:56 +0000 (UTC) Date: Tue, 23 Oct 2018 07:56:55 +0200 From: Michal Hocko To: David Rientjes Cc: Tetsuo Handa , Johannes Weiner , linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, guro@fb.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, yang.s@alibaba-inc.com, Andrew Morton , Sergey Senozhatsky , Petr Mladek , Sergey Senozhatsky , Steven Rostedt Subject: Re: [PATCH] mm,oom: Use timeout based back off. Message-ID: <20181023055655.GM18839@dhcp22.suse.cz> References: <1540033021-3258-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 22-10-18 14:11:10, David Rientjes wrote: [...] > I've proposed patches that have been running for months in a production > environment that make the oom killer useful without serially killing many > processes unnecessarily. At this point, it is *much* easier to just fork > the oom killer logic rather than continue to invest time into fixing it in > Linux. That's unfortunate because I'm sure you realize how problematic > the current implementation is, how abusive it is, and have seen its > effects yourself. I admire your persistance in trying to fix the issues > surrounding the oom killer, but have come to the conclusion that forking > it is a much better use of time. These are some pretty strong words for a code that tends to work for most users out there. I do not remember any bug reports except for artificial stress tests or your quite unspecific claims about absolutely catastrophic impact which is not backed by any specific details. I have shown interest in addressing as many issues as possible but I absolutely detest getting back to the previous state with an indeterministic pile of heuristic which were lockup prone and basically unmaintainable. Going around with timeouts and potentially export them to userspace might sound attractive for the simplicity but this should be absolutely the last resort when a proper solution is too complex (from a code or maintainability POV). I do not believe we have reached that state yet. -- Michal Hocko SUSE Labs