Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp238234imm; Tue, 9 Oct 2018 17:14:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV62YP+wJ32X8DSHUUKnKnD5EP5taWZiSSb0pvFikEoFGnlmVfVZg/wodQEvS/RafI8MGnKMt X-Received: by 2002:a63:6286:: with SMTP id w128-v6mr26977405pgb.72.1539130483242; Tue, 09 Oct 2018 17:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539130483; cv=none; d=google.com; s=arc-20160816; b=EBEyasgTGP1k0ON6rbjv9sqRenPBc8tqsI1S3qm0LWKxSZ68zAk2BoFTlwWajgV+W3 k+isE51b/UgSEO/sG6R8zGNv/C/yVgu449nQyoFPObCZZNJIScGCOYuF+FcOdsYk0AP6 YMhiN+3I9ZxHAw9fWgh05H+F0N/tofVhLYRvkHBIEz0VobaLFTDG+0UWoK5fr9Fh1Zp2 13ctSBICI2NJ8ZJpYjuS6+LTA7vVJrdKOBKOy+YtPCwLfvLwllPUnjgbgfDuDoi9AUHu 0KpcoyRlm5oiWAEnXWBG9sG5VQcu/hfq2fAuaRnyLYAo2A2A6LPA3bkr30Frx7UH/Fvf jHhw== 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:in-reply-to :references:date:mime-version:cc:to:from:subject:message-id; bh=Mozgbimk/OEPXpPsmfC0eSgCoaBvvYyrN/aGV99u+Qo=; b=aaFECVgL6EjfcoA6ovy9ztz/IjPnZGYcM+TX1i7E/KFbLV/kxdQNEI1pV0fRRd53BO opAn/virh0LyRWMxxe4ic/ZLt5kw18iGUyP91dwMjgjHFx43/DpDuUESzQo6c2mOHSfj i+3sqUqzWz5mwo4mCUK/0utesMcDPd9Je+hRhYDee9RzOHz39Yk1rafx3ABZ6sC1F0Gn xx50qjAn4xFrW3BDvh34h/klmbWZOGYb1yUONgwRh+TUKpCvDP6ahVo3xEBHKptts1nu dFPFcsWVYkMHy8ZHQ75q/oSg/FO1iN7QCg0UQzjUQ4mX9dpvQjuHK56meva1ra38IngE skBg== 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 q85-v6si24706630pfq.32.2018.10.09.17.14.27; Tue, 09 Oct 2018 17:14:43 -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 S1726515AbeJJHcM (ORCPT + 99 others); Wed, 10 Oct 2018 03:32:12 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:48823 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbeJJHcM (ORCPT ); Wed, 10 Oct 2018 03:32:12 -0400 Received: from fsav102.sakura.ne.jp (fsav102.sakura.ne.jp [27.133.134.229]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w9A0CjA8047787; Wed, 10 Oct 2018 09:12:45 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav102.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav102.sakura.ne.jp); Wed, 10 Oct 2018 09:12:45 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav102.sakura.ne.jp) Received: from www262.sakura.ne.jp (localhost [127.0.0.1]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w9A0Cjd4047783; Wed, 10 Oct 2018 09:12:45 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: (from i-love@localhost) by www262.sakura.ne.jp (8.15.2/8.15.2/Submit) id w9A0Cjtn047782; Wed, 10 Oct 2018 09:12:45 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Message-Id: <201810100012.w9A0Cjtn047782@www262.sakura.ne.jp> X-Authentication-Warning: www262.sakura.ne.jp: i-love set sender to penguin-kernel@i-love.sakura.ne.jp using -f Subject: Re: INFO: rcu detected stall in =?ISO-2022-JP?B?c2htZW1fZmF1bHQ=?= From: Tetsuo Handa To: syzbot , hannes@cmpxchg.org, mhocko@kernel.org Cc: akpm@linux-foundation.org, guro@fb.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rientjes@google.com, syzkaller-bugs@googlegroups.com, yang.s@alibaba-inc.com MIME-Version: 1.0 Date: Wed, 10 Oct 2018 09:12:45 +0900 References: <000000000000dc48d40577d4a587@google.com> In-Reply-To: <000000000000dc48d40577d4a587@google.com> Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot is hitting RCU stall due to memcg-OOM event. https://syzkaller.appspot.com/bug?id=4ae3fff7fcf4c33a47c1192d2d62d2e03efffa64 What should we do if memcg-OOM found no killable task because the allocating task was oom_score_adj == -1000 ? Flooding printk() until RCU stall watchdog fires (which seems to be caused by commit 3100dab2aa09dc6e ("mm: memcontrol: print proper OOM header when no eligible victim left") because syzbot was terminating the test upon WARN(1) removed by that commit) is not a good behavior. syz-executor0 invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=-1000 syz-executor0 cpuset=syz0 mems_allowed=0 CPU: 0 PID: 2050 Comm: syz-executor0 Not tainted 4.19.0-rc7-next-20181009+ #90 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: (...snipped...) Memory limit reached of cgroup /syz0 memory: usage 205168kB, limit 204800kB, failcnt 6909 memory+swap: usage 0kB, limit 9007199254740988kB, failcnt 0 kmem: usage 0kB, limit 9007199254740988kB, failcnt 0 Memory cgroup stats for /syz0: cache:680KB rss:176336KB rss_huge:163840KB shmem:740KB mapped_file:660KB dirty:0KB writeback:0KB swap:0KB inactive_anon:712KB active_anon:176448KB inactive_file:0KB active_file:4KB unevictable:0KB Out of memory and no killable processes...