Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1892343ybn; Thu, 26 Sep 2019 03:54:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyY2K73RaqFzGsiAip03Erhqm1X5hT5PHNZF0kukSky4NfhJE+WPWXb09pRtOLTNdDjDANA X-Received: by 2002:a50:93a4:: with SMTP id o33mr2939262eda.0.1569495285720; Thu, 26 Sep 2019 03:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495285; cv=none; d=google.com; s=arc-20160816; b=goMukmB1nsKyuO7ApzjHbcCtWAcBzAaVOkC/lrxRxIYdwjT4Ho/q0BcaYjUrtuIjoZ 3Imguk0wHKjneJ6xGVBCEOxgV3Dnh9TJQHltnTTWIHE0bfK1J/YNPapULwijnU1WX8pb sQ/tiGouShVbFTR62STe2bzfXQHGSl1ZjhgoD0XJV6PKTYnG1aXNSp1X9xsXRu4TewJ+ r4S15nuSWkGqH28LIceQQzmYzf3VlnWbXppWEXfBS4BEtXEZ4LPt51iEeU1tlqLqv8Oi ywLBq2f4pzWfJUkMCG8X+hxwvbCBpSAbwDYzVlCksdhQdHDgVqElQ9uw027ZS5/9EBOC gnGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=iNlFTVH4VSAEfuCOftJaDpDs8PGzDAgZKruBuqzVzeM=; b=SykriylGimZxXiytwb4LiR/AVHOTGvxHdC8xMZPM2jOzBQ6yQj7Nz8TQXMD252E05g kIKEpeuZUtC7bFcWDZstUZQfCD6wd8CYtZIbqcFOvRXt/Vw1AkRdqtXYiRr0B13mgSdZ G9Rxg6EXWtbP5qPRQqkwxinsD6IaDSGPPJg0eQqSXpncBrVUtiYkKS4f77kpyia10C7A Lg2+bOuL7ghhD5TJuT6YTHm61g9TCDC6UV8/+YSeHFKgm2Ac/f75fEqaLU+tIE7iawuo wMRXp+dRdLK10NwonC2g23LwX7NjlUevgjwH5J4nVwOowTd8io5bpD6PL9GoJqL8pmD4 97Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si1035792edq.228.2019.09.26.03.54.22; Thu, 26 Sep 2019 03:54:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633445AbfIXUzD (ORCPT + 99 others); Tue, 24 Sep 2019 16:55:03 -0400 Received: from gentwo.org ([3.19.106.255]:49438 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727890AbfIXUzD (ORCPT ); Tue, 24 Sep 2019 16:55:03 -0400 X-Greylist: delayed 429 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Sep 2019 16:55:02 EDT Received: by gentwo.org (Postfix, from userid 1002) id 1EDD83E9FF; Tue, 24 Sep 2019 20:55:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 1BF793E9E5; Tue, 24 Sep 2019 20:55:02 +0000 (UTC) Date: Tue, 24 Sep 2019 20:55:02 +0000 (UTC) From: cl@linux.com X-X-Sender: cl@www.lameter.com To: Matthew Wilcox cc: "Darrick J. Wong" , dsterba@suse.cz, Vlastimil Babka , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Pekka Enberg , David Rientjes , Ming Lei , Dave Chinner , Christoph Hellwig , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, James Bottomley , linux-btrfs@vger.kernel.org, Roman Gushchin , Johannes Weiner Subject: Re: [PATCH v2 2/2] mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two) In-Reply-To: <20190924205133.GK1855@bombadil.infradead.org> Message-ID: References: <20190826111627.7505-1-vbabka@suse.cz> <20190826111627.7505-3-vbabka@suse.cz> <20190923171710.GN2751@twin.jikos.cz> <20190923175146.GT2229799@magnolia> <20190924205133.GK1855@bombadil.infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org n Tue, 24 Sep 2019, Matthew Wilcox wrote: > > There was a public discussion about this issue and from what I can tell > > the outcome was that the allocator already provides what you want. Which > > was a mechanism to misalign objects and detect these issues. This > > mechanism has been in use for over a decade. > > You missed the important part, which was *ENABLED BY DEFAULT*. People > who are enabling a debugging option to debug their issues, should not > have to first debug all the other issues that enabling that debugging > option uncovers! Why would you have to debug all other issues? You could put your patch on top of the latest stable or distro kernel for testing. And I thought the rc phase was there for everyone to work on the bugs of each other?