Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1892299ybn; Thu, 26 Sep 2019 03:54:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaBlm31dIZ1VUUSTBXoBeqYyRbqSQOaM0cwTRPvwfgpjPuc/Bsw/qPqfsACZ/47SAn0R9M X-Received: by 2002:a17:906:9451:: with SMTP id z17mr2491263ejx.90.1569495283586; Thu, 26 Sep 2019 03:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495283; cv=none; d=google.com; s=arc-20160816; b=ZxkmiWiHZyHlPmFHl4I1QRncqkyc23+drPSACwCntpaXw2btF6DQNWR7//b8POq/Og TG2+Zo6a5wVfC8cKRLqwX/CbJPhP51roNFPzC33EopKvhxFYDjWSAPkHpQN/UlWHf8DM W5k1mIwX19zZMxOrbcg87WftgyH7kxUqLec/II9s57ZKu0pSwa6xz1em7S6nufEVw3KP V/XDmNed64k/2QEaDIaAsbl9SigeZ0rvOY5bMGSUUb8vEwHNG6TT6SHvxxEyRGP3LuYJ 4+4EaFfpVCNDrQNgldI0tVOQz9cDnXDVFhX7GOQkQElpWSyctNQ23PZ5q8R162jUFlt8 YnfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+v9rUtMVLbceJYUrls0UAlCyrXq767IWhnxlCJpL7sY=; b=RkTrrGDfUqR0VYbQNdm6ceEeEJn6BB0/2acHXJVh90bTjRxtUUh18VCL9MRn/EX1vM MeKmQQNBu5Jn0H04Lw1d/t1CRupRdMWq7YZm7pJ4LCuwzo6F1iO+l9oITwrluDOPtro9 eoematZrccLzs7IRsjw9hlwjgw5NXmugi/neEDvZbivYRBnZAkcvtj6KmUP71x/T7POo yPn0UilII8MxPquIw1pssyTAveKjifVi+rqyFqK6UpZmv27CtFm/CVdXERTnIf39P2Vv ocyP0J728sRaTjpYpHYZtik9x1l9kc2Hx2XrrHNAEcfS40ZbdLQ4rBR9AEEXwAaZ18DZ 1LEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C9iEGEnK; 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 f14si1071297edf.102.2019.09.26.03.54.20; Thu, 26 Sep 2019 03:54:43 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C9iEGEnK; 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 S2633416AbfIXUvo (ORCPT + 99 others); Tue, 24 Sep 2019 16:51:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43866 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731288AbfIXUvn (ORCPT ); Tue, 24 Sep 2019 16:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+v9rUtMVLbceJYUrls0UAlCyrXq767IWhnxlCJpL7sY=; b=C9iEGEnKl6h5EiBPyWUTj+JpT uLY3285XCKnxDiiV+/TdezXJUYrO9Z1d+M85J5PS7/QEWylR1Kz74VJC86ovh8PtG6TJnDQwBooov M4CQSwewUvpMt4tp4Ilp0NZTttuXajXOGqQpZfcDqKQUBa8yl/7sWmifirAVWTNhx+BFmupzRJRMK IfiUoBQzq6eEdi1XU9TYkqWcr/t/DQ+CSiMGyty28VzbgVOSU4R1i5zl+QAtQJXJkTo/OxT1hFydF 77PmcrS+yO2XyCYZZ+rhk9F9aIvS276E+PGmW60r4uMYUpFfCQZKiZZt7+hkwc8DGt7Ul4cInMm/q tcB4/BSyA==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCrmX-0005ZA-S8; Tue, 24 Sep 2019 20:51:33 +0000 Date: Tue, 24 Sep 2019 13:51:33 -0700 From: Matthew Wilcox To: cl@linux.com 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) Message-ID: <20190924205133.GK1855@bombadil.infradead.org> References: <20190826111627.7505-1-vbabka@suse.cz> <20190826111627.7505-3-vbabka@suse.cz> <20190923171710.GN2751@twin.jikos.cz> <20190923175146.GT2229799@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 24, 2019 at 08:47:52PM +0000, cl@linux.com wrote: > On Mon, 23 Sep 2019, Darrick J. Wong wrote: > > > On Mon, Sep 23, 2019 at 07:17:10PM +0200, David Sterba wrote: > > > On Mon, Sep 23, 2019 at 06:36:32PM +0200, Vlastimil Babka wrote: > > > > So if anyone thinks this is a good idea, please express it (preferably > > > > in a formal way such as Acked-by), otherwise it seems the patch will be > > > > dropped (due to a private NACK, apparently). > > > > Oh, I didn't realize ^^^^^^^^^^^^ that *some* of us are allowed the > > privilege of gutting a patch via private NAK without any of that open > > development discussion incovenience. > > 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!