Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1059819ybt; Tue, 7 Jul 2020 06:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAk9vL1VtZ+Dq+SjwSSYg+cYig+nBjUH4HH+LHSvIintR94wSfk/dTIdQJ/4GlpeSKsFaX X-Received: by 2002:a50:d0cc:: with SMTP id g12mr62538455edf.57.1594130270984; Tue, 07 Jul 2020 06:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594130270; cv=none; d=google.com; s=arc-20160816; b=LJ96idN5cQnWoezB066dllcTnx2CGvFbdzJ5FD2dJP6eP4O6vMWOs/sbj/yTLEODmf e99YiuHY3bdTye4L3zJa5UeaynKXnin4LGa6SiCIkSkLaEFiVnC2JeZqDigrQHCMHZBG AEgBPs/Nh9LI/nEJViA/qbC/x03ANMasndlq0FU0BOszPQ129kijvCTGxBj4bdriIAd0 gRsx5MpDazHaDms0xH/wQmLUSeJOMJmHXE8KUvpfJ5F+EpXIdLOmPkQy0UcSSecSsBlG o9cQvSUnIctDEC0GlWi9P2u/9d0ariCeJcXDCloj1sjpNvJjIoApvKKYAlgoLHzhKrRw QhRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FpuEvCsXRL4/W9jfe5wiH6evdM0ik5cj0/MlbIbZB5Q=; b=daFDoK5tGAILokvX0BoB2bpynK0wE62UXuBE+tznuFkPb5pcC5CwbcQxsZdrq9MsgY 3GhB7PQsDgDYuJDZjAidwHdnjhrryPQBF+Zw1YBFaPesRHke7u92F9sMZPPAMJbkWoq6 kN3du3HEUJVLuJi2nEDWehK4rMLMZRxdHTpYNRw5CzSG5hagMhrTCz5xXgAt8qls1fCJ rGE+hFgJFQo0jNrL1FyW89iqgsVqUXOhQ+PLqm6cQDu13vLsNL1ui/OYmE5og3VgEWfq +ywGewD7QEi2sEMTp7o3hvOe5arfOhe4z4PyUZtWMMpWXpX9MHqjuN05dpVV+qPrOwiv l9tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si15010082ejj.461.2020.07.07.06.57.27; Tue, 07 Jul 2020 06:57:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728061AbgGGN4s (ORCPT + 99 others); Tue, 7 Jul 2020 09:56:48 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43815 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726805AbgGGN4r (ORCPT ); Tue, 7 Jul 2020 09:56:47 -0400 Received: by mail-wr1-f66.google.com with SMTP id j4so42824219wrp.10 for ; Tue, 07 Jul 2020 06:56:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=FpuEvCsXRL4/W9jfe5wiH6evdM0ik5cj0/MlbIbZB5Q=; b=lIzzXaif3h6tDA54nQHTOlWMxVF4vohnh3M/OXDpzqGPz26T0tqZg5Pjm7L/o4NbuE UXxtPzXXskv51lsosgesaQDe24BEa2lf0Nv8QGNB7XfEdDGvXqBaQKNhHwQogC7YFrp5 FI1zBGk4qQ+XIJaXlcr34O6Rv0Alk2S/wMAwth07IXtel4R+4OR/TMtq0fzZ8WbtPzle 666vT+LURwM3sfX+VhJv6CiC91CgAUB5vYZ5JPVjZSAZkZDsMF6LHsDPzlvfK5mnuN1w tX6lpiIBqTG1SISqdAGfNhf0b96YPXN4m+BmQWF5kiRYnHM/T+0lP+HOAk4Lt9EZUNKw aFyg== X-Gm-Message-State: AOAM533QLQWzFE1yK3Zi5Y4x5lfMeJcQ9qfIp57ILuBfBfNHcOq1YQWn 9euzVGafcqPC26KN48hj7X8= X-Received: by 2002:a5d:6846:: with SMTP id o6mr54428442wrw.370.1594130205924; Tue, 07 Jul 2020 06:56:45 -0700 (PDT) Received: from localhost (ip-37-188-179-51.eurotel.cz. [37.188.179.51]) by smtp.gmail.com with ESMTPSA id u15sm1211094wrm.64.2020.07.07.06.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:56:45 -0700 (PDT) Date: Tue, 7 Jul 2020 15:56:43 +0200 From: Michal Hocko To: Qian Cai Cc: Feng Tang , kernel test robot , Andrew Morton , Johannes Weiner , Matthew Wilcox , Mel Gorman , Kees Cook , Luis Chamberlain , Iurii Zaikin , andi.kleen@intel.com, tim.c.chen@intel.com, dave.hansen@intel.com, ying.huang@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, lkp@lists.01.org Subject: Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail Message-ID: <20200707135643.GV5913@dhcp22.suse.cz> References: <20200707120619.GO5913@dhcp22.suse.cz> <20200707130436.GA992@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200707130436.GA992@lca.pw> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 07-07-20 09:04:36, Qian Cai wrote: > On Tue, Jul 07, 2020 at 02:06:19PM +0200, Michal Hocko wrote: > > On Tue 07-07-20 07:43:48, Qian Cai wrote: > > > > > > > > > > On Jul 7, 2020, at 6:28 AM, Michal Hocko wrote: > > > > > > > > Would you have any examples? Because I find this highly unlikely. > > > > OVERCOMMIT_NEVER only works when virtual memory is not largerly > > > > overcommited wrt to real memory demand. And that tends to be more of > > > > an exception rather than a rule. "Modern" userspace (whatever that > > > > means) tends to be really hungry with virtual memory which is only used > > > > very sparsely. > > > > > > > > I would argue that either somebody is running an "OVERCOMMIT_NEVER" > > > > friendly SW and this is a permanent setting or this is not used at all. > > > > At least this is my experience. > > > > > > > > So I strongly suspect that LTP test failure is not something we should > > > > really lose sleep over. It would be nice to find a way to flush existing > > > > batches but I would rather see a real workload that would suffer from > > > > this imprecision. > > > > > > I hear you many times that you really don’t care about those use > > > cases unless you hear exactly people are using in your world. > > > > > > For example, when you said LTP oom tests are totally artificial last > > > time and how less you care about if they are failing, and I could only > > > enjoy their efficiencies to find many issues like race conditions > > > and bad error accumulation handling etc that your “real world use > > > cases” are going to take ages or no way to flag them. > > > > Yes, they are effective at hitting corner cases and that is fine. I > > am not dismissing their usefulness. I have tried to explain that many > > times but let me try again. Seeing a corner case and think about a > > potential fix is one thing. On the other hand it is not really ideal to > > treat such a failure a hard regression and consider otherwise useful > > Well, terms like "corner cases" and "hard regression" are rather > subjective. Existing real life examples really makes them less subjective though. [...] > > LTP is a very useful tool to raise awareness of potential problems but > > you shouldn't really follow those results just blindly. > > You must think I am a newbie tester to give me this piece of advice > then. Not by even close. I can clearly see your involvement in testing and how many good bug reports that results in. -- Michal Hocko SUSE Labs