Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3698978imm; Mon, 6 Aug 2018 09:04:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpekjNVeqZtWqN1c+IHTj4FSmaUQwckJHwOSwLf1TgSN2/2ArF4poVq79TFZU1ktPrTrJ0iK X-Received: by 2002:a63:5d09:: with SMTP id r9-v6mr14984094pgb.303.1533571495766; Mon, 06 Aug 2018 09:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533571495; cv=none; d=google.com; s=arc-20160816; b=AQYnIqXwzylHfG1AXUiL5zcp9SNC7JHuks1QD0Bc2CrjRMl/3OugOWixVk4AtCw11q OoyTHYcTObkJ0a7W51ZpkU/ztKw6o8xUZdfMh2BmVPNhrSx5X8nqLwC4WsBrK7RRt3Pa egti90A4tZMUgQS+T/pkZXZPfTQS7Ob/ERFdCWyxzm/O1MdC9kGjerO1NTTM7qOf8krI 5MJBhzMtASkv6UL8cOEF5VO3VL1mWmz/keHIxbFZS+us6TbYMqqK+drqqsGT0XmLI/c9 JVR08v/0W4PDyE7Wgo/sP65Fzw6szHaEKd2uayb4RRo0O2PtiV653EE/SD6pJYB3XO8+ 0HJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:arc-authentication-results; bh=rNS1I/W9KrQw/0QkJnu8h7jQg5qHMrzcc9+0hFYxgdA=; b=cBzGFkw2Tu5zf4nAalZgIDjDRyCA81PjY8Py0SnO+02GhcklJD+hAs0bwpAixiRsA5 hcgLX5jq/sJRB6zvJuDqmex9SaEj8lVK+kZEuugH2PEz3U6SwmQprArj/x9b8hDfdQcC FsH/Wxd2Gaf/echH2D9EZTBbX3xcJ6bzcN/QBUR+B1AfIBRehSKX8CjCl5fTQk/lp1py X4786LHPaDotyBovAV/scTg40yRIjy3rAIhVLyhMr/JdchejHXREWIHUUuELK7C4D4Ut QSEcnMSr+oHtqThyvJ+sjTq1DEo52d05w1DamkjqA6vq333ZTOlTT3aC8i1iI4edGK1f 4wnQ== 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 f18-v6si13057614pgd.16.2018.08.06.09.04.40; Mon, 06 Aug 2018 09:04:55 -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 S1733096AbeHFSL4 (ORCPT + 99 others); Mon, 6 Aug 2018 14:11:56 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:37663 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730724AbeHFSL4 (ORCPT ); Mon, 6 Aug 2018 14:11:56 -0400 Received: from fsav303.sakura.ne.jp (fsav303.sakura.ne.jp [153.120.85.134]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w76G2AIS005294; Tue, 7 Aug 2018 01:02:10 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav303.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav303.sakura.ne.jp); Tue, 07 Aug 2018 01:02:10 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav303.sakura.ne.jp) Received: from [192.168.1.8] (softbank126074194044.bbtec.net [126.74.194.44]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id w76G29xR005264 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Aug 2018 01:02:09 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: WARNING in try_charge To: mhocko@kernel.org References: <0000000000006350880572c61e62@google.com> Cc: syzbot , cgroups@vger.kernel.org, dvyukov@google.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, vdavydov.dev@gmail.com From: Tetsuo Handa Message-ID: <4bf70718-59fd-dcad-c20e-8601cd665bca@i-love.sakura.ne.jp> Date: Tue, 7 Aug 2018 01:02:07 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <0000000000006350880572c61e62@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/08/07 0:42, syzbot wrote: > Hello, > > syzbot has tested the proposed patch but the reproducer still triggered crash: > WARNING in try_charge > > Killed process 6410 (syz-executor5) total-vm:37708kB, anon-rss:2128kB, file-rss:0kB, shmem-rss:0kB > oom_reaper: reaped process 6410 (syz-executor5), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB > task=syz-executor5 pid=6410 invoked memcg oom killer. oom_victim=1 > ------------[ cut here ]------------ > Memory cgroup charge failed because of no reclaimable memory! This looks like a misconfiguration or a kernel bug. > WARNING: CPU: 1 PID: 6410 at mm/memcontrol.c:1707 mem_cgroup_oom mm/memcontrol.c:1706 [inline] > WARNING: CPU: 1 PID: 6410 at mm/memcontrol.c:1707 try_charge+0x734/0x1680 mm/memcontrol.c:2264 > Kernel panic - not syncing: panic_on_warn set ... Michal, this is "mm, oom: task_will_free_mem(current) should ignore MMF_OOM_SKIP for once." problem which you are refusing at https://www.spinics.net/lists/linux-mm/msg133774.html .