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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 54658C433E0 for ; Tue, 16 Mar 2021 10:32:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DE1016502B for ; Tue, 16 Mar 2021 10:32:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE1016502B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 542F86B006C; Tue, 16 Mar 2021 06:32:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 519906B006E; Tue, 16 Mar 2021 06:32:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 408BE6B0070; Tue, 16 Mar 2021 06:32:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0037.hostedemail.com [216.40.44.37]) by kanga.kvack.org (Postfix) with ESMTP id 221DF6B006C for ; Tue, 16 Mar 2021 06:32:21 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id CDD5E181AEF31 for ; Tue, 16 Mar 2021 10:32:20 +0000 (UTC) X-FDA: 77925372840.11.74EBBD8 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf28.hostedemail.com (Postfix) with ESMTP id 413AA200038F for ; Tue, 16 Mar 2021 10:32:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DE31FAC5C; Tue, 16 Mar 2021 10:32:18 +0000 (UTC) Subject: Re: [PATCH v3 0/4] mm/slub: Fix count_partial() problem To: Christoph Lameter , Yang Shi Cc: Roman Gushchin , Xunlei Pang , Pekka Enberg , Konstantin Khlebnikov , David Rientjes , Matthew Wilcox , Shu Ming , Andrew Morton , Linux Kernel Mailing List , Linux MM , Wen Yang , James Wang , Thomas Gleixner References: <1615303512-35058-1-git-send-email-xlpang@linux.alibaba.com> <793c884a-9d60-baaf-fab8-3e5f4a024124@suse.cz> From: Vlastimil Babka Message-ID: <0690ac12-e112-9e14-e228-4692af446265@suse.cz> Date: Tue, 16 Mar 2021 11:32:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Stat-Signature: ngn7h7fdwqospmgwfu78hr76j9q374mj X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 413AA200038F Received-SPF: none (suse.cz>: No applicable sender policy available) receiver=imf28; identity=mailfrom; envelope-from=""; helo=mx2.suse.de; client-ip=195.135.220.15 X-HE-DKIM-Result: none/none X-HE-Tag: 1615890740-853122 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 3/16/21 11:07 AM, Christoph Lameter wrote: > On Mon, 15 Mar 2021, Yang Shi wrote: > >> > It seems like CONFIG_SLUB_DEBUG is a more popular option than CONFIG_SLUB_STATS. >> > CONFIG_SLUB_DEBUG is enabled on my Fedora workstation, CONFIG_SLUB_STATS is off. >> > I doubt an average user needs this data, so I'd go with CONFIG_SLUB_STATS. Hm I can imagine that (after due performance testing) we would consider having accurate slabinfo in our distro kernel, just as we have CONFIG_SLUB_DEBUG but not the full stats. >> I think CONFIG_SLUB_DEBUG is enabled by default on most distros since >> it is supposed not incur too much overhead unless specific debug (i.e. >> red_zone) is turned on on demand. > > Correct. CONFIG_SLUB_DEBUG includes the code so the debugging can be > enabled on Distro kernels with a kernel command line option. So you dont > have to recompile the kernel to find weird memory corruption issues from > strange device drivers. > > Somehow my email address dropped off this thread. Hm I see cl@linux.com in all e-mails of the thread, but now you replaced it with cl@gentwo.de ?