Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4010603pxf; Tue, 16 Mar 2021 03:35:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIJ/C8pmsnzVki/dV8wOquAdT93mxokYo0rT9Qj2yGTZmJIJ0Sy605BTiE7dQAAVzsFJ+w X-Received: by 2002:a17:906:fcb2:: with SMTP id qw18mr28068245ejb.434.1615890933682; Tue, 16 Mar 2021 03:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615890933; cv=none; d=google.com; s=arc-20160816; b=ipxOdPGglBpQBfdwT2lRVjdhYiTSZyxIu+DHI16K4y8eFx2tf16n7Z0mm7bVPqSAo7 qvy3YDwjAQXdppiPAwXEU/wxCvEruOrgya3SBnoWGRiBovJ1FisHoSWl7rk2wMPT7hK0 j3g+ItVQOFOlgeuuu9/g5KXGi/ooeQpxBnJXAt4bjFtEEDWghumuyDHm5mOTdL7PSVGK TXsundohOuVWYo4mRFztn3LFURoOaMRPChZwPPzHTa53a8deIiYnQLCuDh2F+r2eRk1G B2wrHsBFKOKPyEtzPsMgwcVmFCDVVXQr8sEVPYK5uDeWqV4/cTSlC0FsB3Pw23Ifp/UJ OoEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VvsOl+dFkUJDSCYiO9Fc4eGyAktcLltJB2+aginsuqw=; b=fOmHbeLDb4155NfRlTwLZDZtrfjCZebvy75fr43ojVs2/bOvBBov4ui2IjrkVUB4CH aktcDqz/gmoIeG9LAXKqljruGe5K0UQp5c4jP0k97pYrIVcpVTgsjgItB7g/OTRiAqmE 5VXEyhzh7ytqRhUMx02qsF3ORoFvcsBoXiwB9HQyIMpr8ExkeysrY1rzxT5+LHQ+INvB 0A6l25mqhPd4jQGs1yD0SZu8eWp5AjBIPCrJMGLy69gK/oAAl6lLZXgsc7N3ZXbxtAeM aSkoRSXS7jbTrzUjP72zDKU6D7N1f/iH+HYJJ+5/MjMK96WBAtHiNp7zdDwvyCAJ5NMy DWTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si5802008edd.550.2021.03.16.03.35.10; Tue, 16 Mar 2021 03:35:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236680AbhCPKcp (ORCPT + 99 others); Tue, 16 Mar 2021 06:32:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:47660 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236695AbhCPKcU (ORCPT ); Tue, 16 Mar 2021 06:32:20 -0400 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ?