Received: by 10.192.165.156 with SMTP id m28csp1245852imm; Wed, 18 Apr 2018 06:41:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx48sU3Oqp5KVGT9gw3P+FMIPwd1+/EvCLARrABW2sKVhe4AUgSu+g9/sDsdhof5II7lAyD8T X-Received: by 10.99.124.15 with SMTP id x15mr1845040pgc.308.1524058900399; Wed, 18 Apr 2018 06:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524058900; cv=none; d=google.com; s=arc-20160816; b=CEtcl0CDxQIDr5miRldw5ac+G5rnKUHVD2VSJgyaQ7cSCJkZhxzR9r3TGZaw5GAbZO bMkG+1Q+cZwgcW6yyiwiKFBC5LoiL/OwUqO4hL3CSXKdm7aKkiYyKL/0R3GtmtKE034+ ElTQjB+xdPC+DL7qDIZxRNAfRZFo5wn3HrmzIFi6F53sBHoGHxszRfxVUyJEZnh7VWWP jgP/+AOdy5TBgx0a0H0TmzfQzOgrZdGXiAmFmHWoNi1VIO2NM+ocMjd3UhJOWi2i5j5J LFDsNleJAmko+YymqH12jZQ7qqIcZiPWDp7+PAOvdXNusA80hpCdskhHZvSQFsnNpTtG rpSg== 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:arc-authentication-results; bh=3YdTu89XLCHZ8RXtSaTOsPeXZe9YWnwLglxI+ZvuSPY=; b=Dys4VguHiHipOTskdg4HsgFDuBRH2DCdZgSIK8ZNhZEXgP7AIxfcPC9GbA7KxqupZR Ya23oaHjnNfUgr15uLmfPDGR6Zw29ZMTkzCk0d8qMABaKrR4U/woaIx9w5Rt/0pAQxa2 mj+LGN+1r8QADVs6cCUif/HH3JL1MR3OVdQzyEba7ferAvIFUVy0JNez0OEDpvHcngBx 4XNWfezGoyfIcAHh+8Zhi2jSviQITGYIIb1pR0vyL4DOryPncZkO2K1Ai2OipLqyBZkh K3u4/MNxQ0GBVkA6DvxjJFpcVuO5uNwLU9W+MFFALVDMvUefisdDR6H+g4OoZDx4iSdk NNUA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si1140973pfn.63.2018.04.18.06.41.26; Wed, 18 Apr 2018 06:41:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753144AbeDRNju (ORCPT + 99 others); Wed, 18 Apr 2018 09:39:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:33532 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbeDRNjt (ORCPT ); Wed, 18 Apr 2018 09:39:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 09F61AB1E; Wed, 18 Apr 2018 13:39:47 +0000 (UTC) Date: Wed, 18 Apr 2018 15:39:47 +0200 From: Michal Hocko To: Matthew Wilcox Cc: Minchan Kim , Andrew Morton , LKML , linux-mm , Johannes Weiner , Vladimir Davydov Subject: Re: [PATCH] mm:memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create Message-ID: <20180418133947.GE17484@dhcp22.suse.cz> References: <20180418022912.248417-1-minchan@kernel.org> <20180418133139.GB27475@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180418133139.GB27475@bombadil.infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 18-04-18 06:31:39, Matthew Wilcox wrote: > On Wed, Apr 18, 2018 at 11:29:12AM +0900, Minchan Kim wrote: > > If there are heavy memory pressure, page allocation with __GFP_NOWAIT > > fails easily although it's order-0 request. > > I got below warning 9 times for normal boot. > > > > Let's not make user scared. > > Actually, can you explain why it's OK if this fails? As I understand this > code, we'll fail to create a kmalloc cache for this memcg. What problems > does that cause? See http://lkml.kernel.org/r/20180418072002.GN17484@dhcp22.suse.cz -- Michal Hocko SUSE Labs