Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5768462rwd; Sun, 18 Jun 2023 19:19:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Cpl/zye3q4FEhlavD3Ajrfi8AxrmL1ylQ6yKsP738Mu9VMNOKZjojn2TbESae34APQpn+ X-Received: by 2002:a17:902:d714:b0:1b5:1590:77fd with SMTP id w20-20020a170902d71400b001b5159077fdmr3734657ply.46.1687141171348; Sun, 18 Jun 2023 19:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687141171; cv=none; d=google.com; s=arc-20160816; b=o4MFGaOMNqaogpii+nL3zdj1exNmCd2Exe6Eq8GHAvMZMn8GwOy1J45Y7fyiIiAISp z4Wft82QtzSS23iUSolaLap1lTc29AXQi9vVZFxezbP6IB2PPQNSiR01AuaFEKIs1MfL RHSHOoTWVXEs6Nwp8gZPP9KFbG/eBZoY++le4eULirTRnZkZNYntefBDIvr3H9uCd1VR dZ18T0Rnl1pUHrJXBjpJNOsb9KUi8s61JCGXcf6cJS5COhPtw/LAAzQcvqefqfdIufLU PjqiA/tKm54OXVE38uAcuHAsGOZTy6mmEk+qpCBiNPB4vYkmh0LZ8HVKSmgRhwX26Oub SKlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=r76UCXNSYK7hKAPox1fty7/njlbL/lomotiDbXrHJ0c=; b=pSqFwO68H+86aw5GxLOS7+B0Z+/QY6ZpVW/CZ1CsfwkqgX5j5z3lW2zeMz3aULWCYm owGGyrGs94hTflh9sohK4q7z8o/us7uLYg/ymfhawue/qXY2gGpeG0AfYuUSrQ0mbQQY HTRG8R0rMiCr+GoexpYv7+rrpdoejjpgOtjBnUpWN2TzK7j8is1qhLTdK4znVnsqkrV6 Si/UEvcDo3lCw0wHeYpfCOk+YglrnTqVR3Wk6guMCX7iX5LcFtCnvDdRk9rB8xQfgqRu aL7qhBoc3zs691/OJXfrNZb+Pu6jDsUYTfITLhr27+lDoPIeP/bwp+snuiykK+M4vQVw G3CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TBWCnt8z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a170902d50300b001a4fc13dfa5si20913901plg.276.2023.06.18.19.19.19; Sun, 18 Jun 2023 19:19:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TBWCnt8z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjFSCMV (ORCPT + 99 others); Sun, 18 Jun 2023 22:12:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjFSCMS (ORCPT ); Sun, 18 Jun 2023 22:12:18 -0400 Received: from out-51.mta1.migadu.com (out-51.mta1.migadu.com [IPv6:2001:41d0:203:375::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CA52E50 for ; Sun, 18 Jun 2023 19:12:16 -0700 (PDT) Date: Sun, 18 Jun 2023 22:12:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1687140734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=r76UCXNSYK7hKAPox1fty7/njlbL/lomotiDbXrHJ0c=; b=TBWCnt8zcFJ5nKRG4NITLMc0ih7Ljc1nAilqoS2S6VpJEHCfC/iKrXm4DqvCBteAIE0x7N KKt8TEEvrj/SIu68Wj5oBDWU01USU5SRaXmsywsmSDitWFep2jlqsfvvNpzkBQyjcAlBQy vbP17KRUSXvKHyjAh6Si2ussqbVjvZw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Thomas Gleixner Cc: Mike Rapoport , linux-kernel@vger.kernel.org, Andrew Morton , Catalin Marinas , Christophe Leroy , "David S. Miller" , Dinh Nguyen , Heiko Carstens , Helge Deller , Huacai Chen , Luis Chamberlain , Mark Rutland , Michael Ellerman , Nadav Amit , "Naveen N. Rao" , Palmer Dabbelt , Puranjay Mohan , Rick Edgecombe , Russell King , Song Liu , Steven Rostedt , Thomas Bogendoerfer , Will Deacon , bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, netdev@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v2 06/12] mm/execmem: introduce execmem_data_alloc() Message-ID: <20230619021205.vfbolcklckdpbm4k@moria.home.lan> References: <20230616085038.4121892-1-rppt@kernel.org> <20230616085038.4121892-7-rppt@kernel.org> <87jzw0qu3s.ffs@tglx> <20230618231431.4aj3k5ujye22sqai@moria.home.lan> <87h6r4qo1d.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h6r4qo1d.ffs@tglx> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 19, 2023 at 02:43:58AM +0200, Thomas Gleixner wrote: > Kent! Hi Thomas :) > No. I am not. Ok. > Whether that's an internal function or not does not make any difference > at all. Well, at the risk of this discussion going completely off the rails, I have to disagree with you there. External interfaces and high level semantics are more important to get right from the outset, internal implementation details can be cleaned up later, within reason. And the discussion on this patchset has been more focused on those external interfaces, which seems like the right approach to me. > > ... I made the same mistake reviewing Song's patchset... > > Songs series had rough edges, but was way more data structure driven > and palatable than this hackery. I liked that aspect of Song's patchset too, and I'm actually inclined to agree with you that this patchset might get a bit cleaner with more of that, but really, this semes like just quibbling over calling convention for an internal helper function.