Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3118449pxb; Thu, 10 Feb 2022 12:44:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLJc+yLORYp+adk5bprkqHR7MY2JRLa1S3i+ch6cOjI5FbdFrR7/iXxaAUfX4iJ68YpZDK X-Received: by 2002:a05:6402:4313:: with SMTP id m19mr10235761edc.320.1644525843704; Thu, 10 Feb 2022 12:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644525843; cv=none; d=google.com; s=arc-20160816; b=YbRNQwz8x+jOBebXRZUdNxDkPazvXmlbpGUGXvZ2QztTIwMGvDcDvmXYqm/0a/Kp2+ 4Z0SZYdM4k8D9nXLmlrisPLNu0zIAiN60nu1b39Egxu5jJny7p6IEZl6CxxPAa/0nWHB BK8tHbUF4hyPu6UZ9JjZPDB9azQzKUm5qUfFOh+0KDjUIKWyS4sleonwWcX4M4fmCseD bFkkPmdDbMr977ckoV5AQGaojHpfcbNxspB5NlgSuOnxXp74yOa2EiWtUHVI2w2boslb 3sMHbI7oIZZAslTeO8TgC+WwncvfjhY8x0kz4DLfmSdVLcgjYpEB5rVCrcZ2/2iyATMl xFVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:content-disposition:references:message-id:subject:cc:to :from:date:dkim-signature; bh=47uagCJuQeu9qPqh0LibhM6thX9f8NfqReUDDnmCf5o=; b=IhvC2gvq4D67mMuL/KlKF+2cDrMqYpSxWrcbdmbbv9fzMQ8XVZ3ifGsh6B/Cj9c9jl SlAGyF90MNeThKYK5+RHoXii1vyGoSrnTAiCCANci3L1kbBjhGM3jW0d3dwOKLYwPhyF 4m19fybfEwi2nAjosQ1002VHhfimCTgB3ivtYp/3d7JsmRGJdaQSHVWnQIxAYceW6k72 xFbyylNUok1nkWs3Q6uVrRbbzfpD9KlZ5l7ZZ1o7oDOa7pMaq5+ypesyZuhFa7DxvdSD /Ceei67yuT6FJGVqMMHOAsIariPxDB/bYKSZi4VqLq+iGGGaKoHt99zeaBUHNSEC/PvT N9ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jdkbmCw9; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm15si9278326edb.316.2022.02.10.12.43.31; Thu, 10 Feb 2022 12:44:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jdkbmCw9; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239953AbiBJNtZ (ORCPT + 99 others); Thu, 10 Feb 2022 08:49:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242440AbiBJNtY (ORCPT ); Thu, 10 Feb 2022 08:49:24 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C990ECF5 for ; Thu, 10 Feb 2022 05:49:25 -0800 (PST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21ACSt5Y031536; Thu, 10 Feb 2022 13:49:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : content-transfer-encoding : mime-version; s=pp1; bh=47uagCJuQeu9qPqh0LibhM6thX9f8NfqReUDDnmCf5o=; b=jdkbmCw9Do4jRrjp0khrcOhkHKNVDq1MBckvTXDzzFGDzSMD+oD63YgyU9vXMs3WlzU/ UB2rRRlgX7sfYJZMlYuUCpaWrBdOuu1ypJw8kffNtV0oJ4KR75ga503gvNgNyCAuGXGt PP2+7SPgQ3XkrdbHc5p8m8dnIL37jCzApN1gb/n5EUOBFMobC3JjCl1mAkhL9/3rbLX0 qwa4OS1awOfWWmHDejNL7KAIauat/apuHGvOoZer57JBBsZB9Mmtf1Ub4H00uRHYHFj0 LfMsgWTcy+k4bc9blBP0q8l68nDmHxOPNnzIQPWztblyd2aFPCRtIvMJskEuYFUNofYJ 7g== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 3e52r71w77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Feb 2022 13:49:19 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 21ADgahX030508; Thu, 10 Feb 2022 13:49:17 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3e1gva0jsj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Feb 2022 13:49:17 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21ADnFwH46137606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Feb 2022 13:49:15 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3B57DA4060; Thu, 10 Feb 2022 13:49:15 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BDD68A405C; Thu, 10 Feb 2022 13:49:14 +0000 (GMT) Received: from localhost (unknown [9.43.74.163]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 10 Feb 2022 13:49:14 +0000 (GMT) Date: Thu, 10 Feb 2022 19:19:13 +0530 From: Ritesh Harjani To: Sachin Sant Cc: Ext4 Developers List , linuxppc-dev@lists.ozlabs.org, "Paul E. McKenney" Subject: Re: [powerpc] Warning mm/slub.c:3246 during boot (next-20220210) w/ext4 Message-ID: <20220210134913.6mdiz6wvmagzuubo@riteshh-domain> References: <6CB9EFBC-1FD6-4486-8C64-8C47EE2A71D4@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6CB9EFBC-1FD6-4486-8C64-8C47EE2A71D4@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: agLgXC8aL4o0yFOaO2sI2vuGxG6yeBSC X-Proofpoint-ORIG-GUID: agLgXC8aL4o0yFOaO2sI2vuGxG6yeBSC Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-10_05,2022-02-09_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=970 clxscore=1011 malwarescore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202100074 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 22/02/10 06:57PM, Sachin Sant wrote: > While booting 5.17.0-rc3-next-20220210 on Power following warning > is seen: > > [ 32.626501] EXT4-fs (sda2): re-mounted. Quota mode: none. > [ 32.627225] ------------[ cut here ]------------ > [ 32.627236] WARNING: CPU: 27 PID: 1084 at mm/slub.c:3246 kmem_cache_alloc+0x3b0/0x680 > [ 32.627250] Modules linked in: ext4 mbcache jbd2 sd_mod t10_pi sg ipr tg3 libata ptp pps_core fuse > [ 32.627273] CPU: 27 PID: 1084 Comm: kworker/u161:0 Not tainted 5.17.0-rc3-next-20220210 #17 > [ 32.627283] NIP: c000000000444df0 LR: c008000007fe6b44 CTR: c000000000444a40 > [ 32.627291] REGS: c000000052393480 TRAP: 0700 Not tainted (5.17.0-rc3-next-20220210) > [ 32.627298] MSR: 9000000000029033 CR: 44002822 XER: 20000000 > [ 32.627316] CFAR: c000000000444a6c IRQMASK: 0 > [ 32.627316] GPR00: c008000007fe6b44 c000000052393720 c000000002a06b00 c000000059660200 > [ 32.627316] GPR04: 0000000000000d40 0000000000000000 c00000004f735000 c000000050760618 > [ 32.627316] GPR08: 0000000000000001 0000000000080000 0000000000000038 c008000007fe7a70 > [ 32.627316] GPR12: c000000000444a40 c0000007fffe1a80 c00000000017a6b8 0000000000000000 > [ 32.627316] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > [ 32.627316] GPR20: 0000000000000041 c000000052393b78 c000000052393a88 0000000000000338 > [ 32.627316] GPR24: c0080000089706d8 c0080000089706d8 c00000004f735000 c008000008014a98 > [ 32.627316] GPR28: 0000000000008d40 0000000000000000 0000000000400000 0000000000000100 > [ 32.627398] NIP [c000000000444df0] kmem_cache_alloc+0x3b0/0x680 > [ 32.627406] LR [c008000007fe6b44] jbd2_journal_add_journal_head+0x13c/0x2b8 [jbd2] > [ 32.627430] Call Trace: > [ 32.627433] [c000000052393720] [c008000007fd0e18] start_this_handle+0x530/0x6b0 [jbd2] (unreliable) > [ 32.627454] [c000000052393790] [0000000000000d40] 0xd40 > [ 32.627462] [c000000052393820] [c008000007fd36d8] jbd2_journal_get_write_access+0x80/0x110 [jbd2] > [ 32.627482] [c000000052393860] [c0080000088c5640] __ext4_journal_get_write_access+0xb8/0x2d0 [ext4] > [ 32.627528] [c000000052393910] [c0080000088d69b8] ext4_file_open+0x2e0/0x430 [ext4] > [ 32.627571] [c0000000523939e0] [c000000000488cf0] do_dentry_open+0x170/0x4e0 > [ 32.627582] [c000000052393a30] [c0000000004aabfc] path_openat+0xedc/0x1560 > [ 32.627593] [c000000052393b30] [c0000000004ac634] do_filp_open+0xa4/0x130 > [ 32.627602] [c000000052393c70] [c000000000499c8c] do_open_execat+0x9c/0x2f0 > [ 32.627611] [c000000052393cc0] [c00000000049ad44] bprm_execve+0x184/0x7f0 > [ 32.627620] [c000000052393d80] [c00000000049c6d8] kernel_execve+0x1a8/0x240 > [ 32.627630] [c000000052393dd0] [c00000000017a838] call_usermodehelper_exec_async+0x188/0x2c0 > [ 32.627642] [c000000052393e10] [c00000000000ce64] ret_from_kernel_thread+0x5c/0x64 > [ 32.627652] Instruction dump: > [ 32.627657] e90d0030 7d49402a 394affff 7d49412a 4bbd1f79 60000000 eae10028 eb610048 > [ 32.627672] 4bfffd80 60000000 60000000 60000000 <0fe00000> 7c0802a6 f8410018 fae10028 > [ 32.627686] ---[ end trace 0000000000000000 ]— > > This WARN_ONCE was introduced by following commit: > > commit 120aa5e574796c9a3ef5f22cdb391747da997a26 > mm: Check for SLAB_TYPESAFE_BY_RCU and __GFP_ZERO slab allocation > > The system has ext4 file system. Yup, this is getting discussed in this thread [1] @ linux-ext4 [1]: https://lore.kernel.org/linux-ext4/20220210091648.w5wie3llqri5kfw3@quack3.lan/T/#m5f371e9910ee646e6361f484b2f12eab6aa47eeb -ritesh