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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 14899C4361B for ; Thu, 10 Dec 2020 18:13:05 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5C2C523C44 for ; Thu, 10 Dec 2020 18:13:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C2C523C44 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B9FFD6B005D; Thu, 10 Dec 2020 13:13:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B4FFA6B006C; Thu, 10 Dec 2020 13:13:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A66D36B006E; Thu, 10 Dec 2020 13:13:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0213.hostedemail.com [216.40.44.213]) by kanga.kvack.org (Postfix) with ESMTP id 9549F6B005D for ; Thu, 10 Dec 2020 13:13:03 -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 4E7BC82499A8 for ; Thu, 10 Dec 2020 18:13:03 +0000 (UTC) X-FDA: 77578169046.13.boy77_1214cfc273fa Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id 2DE6B18140B67 for ; Thu, 10 Dec 2020 18:13:03 +0000 (UTC) X-HE-Tag: boy77_1214cfc273fa X-Filterd-Recvd-Size: 3311 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Thu, 10 Dec 2020 18:13:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=wtKwAp9LK0mJJfCtfcodrMg2CfX191QCiHtyQWRnMZI=; b=mh1gtQaLQy2/vLGVKDhsHWNLc3 Mhqn1UY1n/8CtCRd5mu3fLnvSYW7zeNpUlI5N9K5y2QeqxtYbjsuRStbP/IyVLoX3bYx72GiXu2H2 NlZrSzGYuLvsJU4fknts+nuTPThx/bWHhjag9huekqLAt+YeHAzVSfOgcDAAqJ9i74LqqJAG/nC4Y bxTFdBSYiqk0YND+GcKXVKsViX5aJ9rqIJj6s1a8xUEROxora6QbKvOJpg1SQOZcwyCh7eIo9K/oR foJmZSmYUKv7ZhM7oTE5KwEBvMBAe2WwWz7M7bPJ7mCe6gcOJAIJDn/ubOmf80PxLr6YUqwnbS8jx BJ+mmKrQ==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1knQQu-0002bI-Js; Thu, 10 Dec 2020 18:12:52 +0000 Date: Thu, 10 Dec 2020 18:12:52 +0000 From: Matthew Wilcox To: Md Muazzam Husain Cc: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mdakhil2003@gmail.com Subject: Re: Slab bug during skb allocation Message-ID: <20201210181252.GZ7338@casper.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: On Thu, Dec 10, 2020 at 11:25:13PM +0530, Md Muazzam Husain wrote: > Hi All, > I have kernel version 3.10.59. So during the allocation for skb i That kernel is over 6 years old: https://lwn.net/Articles/618650/ It's been out of support since November 2017. The development kernel it was based on is over 7 years old. It's unreasonable to expect people to know the answer to this. Can you reproduce this problem with a recent kernel? > am getting call trace for __netdev_alloc_skb which follows > till cache_alloc_refill and finally crashes. Please find snapshot below. > addr2line -e vmlinux ffffffffc114109c shows linux/mm/slab.c:2700 has the > problem. Is there any existing bug and any patch for this. > > Call Trace: > [] *cache_alloc_refill*+0x1b4/0x848 > [] __kmalloc_track_caller+0x124/0x1f0 > [] __kmalloc_reserve.isra.17+0x40/0xa8 > [] __alloc_skb+0x84/0x1a0 > [] *__netdev_alloc_skb*+0xdc/0x148 > [] xlpnae_irq+0x148/0x200 > [] handle_irq_event_percpu+0x94/0x3f0 > [] handle_irq_event+0x54/0x98 > [] handle_level_irq+0xe4/0x170 > [] generic_handle_irq+0x38/0x58 > [] do_IRQ+0x18/0x28 > [] plat_irq_dispatch+0x258/0x490 > [] ret_from_irq+0x0/0x4 > [] __r4k_wait+0x20/0x40 > [] cpu_startup_entry+0xd4/0x2d8 > [] prom_pre_boot_secondary_cpus+0x0/0x48 > > > Thanks, > Muazzam