From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A886C2D0A3 for ; Mon, 9 Nov 2020 08:16:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A327521534 for ; Mon, 9 Nov 2020 08:16:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="RSqGJHHZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A327521534 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8989B6B0068; Mon, 9 Nov 2020 03:16:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 848066B006C; Mon, 9 Nov 2020 03:16:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 75DBC6B006E; Mon, 9 Nov 2020 03:16:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0172.hostedemail.com [216.40.44.172]) by kanga.kvack.org (Postfix) with ESMTP id 475CE6B0068 for ; Mon, 9 Nov 2020 03:16:14 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id EC1958249980 for ; Mon, 9 Nov 2020 08:16:13 +0000 (UTC) X-FDA: 77464172226.13.tail06_1f0d2bd272ea Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id DEE9118140B72 for ; Mon, 9 Nov 2020 08:16:13 +0000 (UTC) X-HE-Tag: tail06_1f0d2bd272ea X-Filterd-Recvd-Size: 7016 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Mon, 9 Nov 2020 08:16:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1604909772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yo1xbAPylxa6I7vPZi/T6mX8ppOn6EhYnH+Z5+qw+bg=; b=RSqGJHHZ4/ps3TbtSYanWQEGrGEtD9zb2cGkenF/5ehdakClL6Bx+Fc0brk/ib5Zz/DHbD 8hBbstwFePV7HFG2jOf2OpoRE6wCyzTREPSEVc6403I4R8/U/oZ2uqzxqf2PIbP7YgPw6q qNtzyWplAUAPB0z0nB1yTnH0NX8Vh5A= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 15290ABCC; Mon, 9 Nov 2020 08:16:12 +0000 (UTC) Date: Mon, 9 Nov 2020 09:16:11 +0100 From: Michal Hocko To: Andrew Morton Cc: linux-mm@kvack.org, bugzilla-daemon@bugzilla.kernel.org, vladi@aresgate.net, Johannes Weiner , Roman Gushchin , Shakeel Butt Subject: Re: [Bug 210075] New: [Thu Nov 5 13:14:27 2020] WARNING: CPU: 4 PID: 133 at mm/page_counter.c:57 page_counter_uncharge+0x34/0x40 Message-ID: <20201109081611.GF12240@dhcp22.suse.cz> References: <20201106211300.23179b5680fd8c83a07a095b@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201106211300.23179b5680fd8c83a07a095b@linux-foundation.org> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: [Cc Roman and Shakeel] On Fri 06-11-20 21:13:00, Andrew Morton wrote: > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Thu, 05 Nov 2020 21:18:05 +0000 bugzilla-daemon@bugzilla.kernel.org wrote: > > > https://bugzilla.kernel.org/show_bug.cgi?id=210075 > > > > Bug ID: 210075 > > Summary: [Thu Nov 5 13:14:27 2020] WARNING: CPU: 4 PID: 133 at > > mm/page_counter.c:57 page_counter_uncharge+0x34/0x40 > > Product: Memory Management > > Version: 2.5 > > Kernel Version: 5.9.5 > > Hardware: x86-64 > > OS: Linux > > Tree: Mainline > > Status: NEW > > Severity: normal > > Priority: P1 > > Component: Page Allocator > > Assignee: akpm@linux-foundation.org > > Reporter: vladi@aresgate.net > > Regression: No > > I'm assuming this is a bug in the networking code. I've seen a number > of possibly-related emails fly past - is it familiar to anyone? Looks similar to 8de15e920dc8 ("mm: memcg: link page counters to root if use_hierarchy is false"). The path is different so the underlying reason might be something else. > > [Thu Nov 5 13:14:27 2020] ------------[ cut here ]------------ > > [Thu Nov 5 13:14:27 2020] WARNING: CPU: 4 PID: 133 at mm/page_counter.c:57 > > page_counter_uncharge+0x34/0x40 > > [Thu Nov 5 13:14:27 2020] Modules linked in: tcp_diag udp_diag raw_diag > > inet_diag netlink_diag nfnetlink_queue xt_nat macvlan veth ip6table_filter > > ip6_tables nf_conntrack_netlink nfnetlink bridge stp llc 8021q > > iptable_raw nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_NFQUEUE ipt_REJECT > > nf_reject_ipv4 xt_mark xt_tcpudp xt_conntrack iptable_filter xt_MASQUERADE > > xt_addrtype iptable_nat nf_nat iptable_mangle ip_tables x_ > > tables sch_fq_codel ext4 mbcache jbd2 dm_crypt encrypted_keys wireguard > > curve25519_x86_64 libcurve25519_generic libchacha20poly1305 chacha_x86_64 > > poly1305_x86_64 ip6_udp_tunnel udp_tunnel libblake2s blake2s_x86 > > _64 libblake2s_generic ipv6 libchacha amdgpu snd_hda_codec_hdmi > > nf_conntrack_sip nf_conntrack nf_defrag_ipv6 mfd_core snd_hda_intel gpu_sched > > nf_defrag_ipv4 snd_intel_dspcfg ttm kvm_amd snd_hda_codec drm_kms_he > > lper efi_pstore tun snd_hda_core syscopyarea kvm sysfillrect sysimgblt snd_pcm > > fb_sys_fops irqbypass snd_timer efivars drm snd ccp k10temp tcp_cubic backlight > > soundcore > > [Thu Nov 5 13:14:27 2020] sha1_generic cp210x input_leds evdev led_class > > usbserial bfq acpi_cpufreq button > > [Thu Nov 5 13:14:27 2020] CPU: 4 PID: 133 Comm: kworker/u16:9 Not tainted > > 5.9.5 #85 > > [Thu Nov 5 13:14:27 2020] Hardware name: System manufacturer System Product > > Name/PRIME X370-PRO, BIOS 5220 09/12/2019 > > [Thu Nov 5 13:14:27 2020] Workqueue: netns cleanup_net > > [Thu Nov 5 13:14:27 2020] RIP: 0010:page_counter_uncharge+0x34/0x40 > > [Thu Nov 5 13:14:27 2020] Code: 85 ff 74 24 4c 89 c8 f0 48 0f c1 07 4c 29 c0 > > 48 89 c1 48 89 c6 e8 7c fe ff ff 48 85 c9 78 0b 48 8b 7f 28 48 85 ff 75 dc f3 > > c3 <0f> 0b eb f1 0f 1f 84 00 00 00 00 00 48 8b 17 48 3 > > 9 d6 72 41 41 54 > > [Thu Nov 5 13:14:27 2020] RSP: 0018:ffffa225007c7d30 EFLAGS: 00010082 > > [Thu Nov 5 13:14:27 2020] RAX: fffffffffffffffe RBX: ffff93a9cd087000 RCX: > > fffffffffffffffe > > [Thu Nov 5 13:14:27 2020] RDX: 0000000000000200 RSI: fffffffffffffffe RDI: > > ffff93a9cd087248 > > [Thu Nov 5 13:14:27 2020] RBP: 0000000000000002 R08: 0000000000000002 R09: > > fffffffffffffffe > > [Thu Nov 5 13:14:27 2020] R10: 0000000000000246 R11: 0000000000000000 R12: > > 0000000000000518 > > [Thu Nov 5 13:14:27 2020] R13: 0000000000000488 R14: ffffffffb96869f5 R15: > > ffff93a9cb992c00 > > [Thu Nov 5 13:14:27 2020] FS: 0000000000000000(0000) > > GS:ffff93a9cef00000(0000) knlGS:0000000000000000 > > [Thu Nov 5 13:14:27 2020] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [Thu Nov 5 13:14:27 2020] CR2: 00007f362472c008 CR3: 00000003f108a000 CR4: > > 00000000003506e0 > > [Thu Nov 5 13:14:27 2020] Call Trace: > > [Thu Nov 5 13:14:27 2020] __memcg_kmem_uncharge+0x4a/0x80 > > [Thu Nov 5 13:14:27 2020] drain_obj_stock+0x72/0x90 > > [Thu Nov 5 13:14:27 2020] refill_obj_stock+0x95/0xb0 > > [Thu Nov 5 13:14:27 2020] kmem_cache_free+0x194/0x390 > > [Thu Nov 5 13:14:27 2020] __sk_destruct+0x125/0x180 > > [Thu Nov 5 13:14:27 2020] inet_release+0x48/0x90 > > [Thu Nov 5 13:14:27 2020] sock_release+0x26/0x80 > > [Thu Nov 5 13:14:27 2020] ops_exit_list+0x2e/0x60 > > [Thu Nov 5 13:14:27 2020] cleanup_net+0x1eb/0x310 > > [Thu Nov 5 13:14:27 2020] process_one_work+0x1b1/0x310 > > [Thu Nov 5 13:14:27 2020] worker_thread+0x4b/0x400 > > [Thu Nov 5 13:14:27 2020] ? process_one_work+0x310/0x310 > > [Thu Nov 5 13:14:27 2020] kthread+0x112/0x130 > > [Thu Nov 5 13:14:27 2020] ? __kthread_bind_mask+0x90/0x90 > > [Thu Nov 5 13:14:27 2020] ret_from_fork+0x22/0x30 > > [Thu Nov 5 13:14:27 2020] ---[ end trace a17bbc8650d8c295 ]--- > > > > -- > > You are receiving this mail because: > > You are the assignee for the bug. -- Michal Hocko SUSE Labs