Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3273559lqp; Tue, 26 Mar 2024 05:02:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRxb1mF95U4n1aYj2kPb0MpT6C5RYudhgmGqbbUWfMw3dtvK7qGeJs6fUutzLnG6oBoot2jPNCWF1EL8hBGBmuvtSppJd0Z6GiwxdtEQ== X-Google-Smtp-Source: AGHT+IF2iZiKD5pBdPF3FDMdeU1DbXj/i5m3dfmzAk3UJQlUzEdMPwhwHF1hoWrsEqtN1O/BQZQd X-Received: by 2002:a05:6a21:188:b0:1a3:5299:1648 with SMTP id le8-20020a056a21018800b001a352991648mr907952pzb.16.1711454539781; Tue, 26 Mar 2024 05:02:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711454539; cv=pass; d=google.com; s=arc-20160816; b=jtBceGgMmJDZ2u4f5FdGQVYLm/Sx3WbOwl6LFgo0mwtXs0msAWjtLZBG+e1ptpEEWd Vt5wBJQozbtQp1mmBqMahfvGbJ38x4pb+DPdjGKDsL/lIAdjgioY2G+6X7Y3nfpKz9r+ aZeK5VUxCrrhrbuF5dgqMNXAfWbfuvssS0vqtI3eCIaHhJtRVHwis2pV9sz59xCqDfqk 7CPCoyQEIx8KHRyffxO5kEFkoZNouFwjRdQWzr5oTfubzQOqG+G77dilR4p/wIkGP1u9 asetM/YtwqmPlk+cAnWn6NN8qATE+jG60vth5m+jBNO8HGU4JTeAM1MPPVtsdHRidV/w bABA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=EKJhulSFxLWQLaF7yaxSDnu58jC9IeQn/dXAU0JKliQ=; fh=d9CtYYWksxDBZ9akPusq4s6WA+U39QhYtJd2qpVcbzk=; b=0wfBPDCXtnRi/Usds7y5VGLvfrH4t/LRtd0Py15djpe4z+Lavi/B4QiXtD8sviCuWv Wnr6XVsIbf86sDn3pjUHI2+uPVV5y62v/qmxUAgIOg9WQtewj5x48B+oaw9fL/0Mv0MQ 3stLe9XLe8Pm9/I8kLe7JLdza+S37nYbW7QWcpSPfpQF/y5/Kz5HuNn2KSdO56juJUZS j4EiDTV3JVXFs3YKq6mYNcIal0LLJZ2hNXNYuX0UqqNgJk6/1IftflbYyntjQI58FL7V gvMkLRKpcJrGrWI4reR39daCzgrm7YLo34qg4z9ACxZ+1h/nFnucWhBb3xjdVHw3SX6j P69w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMw4D1PQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id r10-20020a056a00216a00b006e6b77f6aabsi7035816pff.263.2024.03.26.05.02.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 05:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMw4D1PQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 870B9B23DAE for ; Tue, 26 Mar 2024 11:57:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2CC56F53D; Tue, 26 Mar 2024 11:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hMw4D1PQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D7FE6E61D; Tue, 26 Mar 2024 11:57:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711454264; cv=none; b=USrDyUDbxrTHXCsaC/FoL9kxSgpT+B+QK8wqLMxPXTJNOd+h0gAs0CCGBNlpD3T0eICy0mB1n825GvHvXus7IqSRGm9eK9sn3M+RhjlKa2FNpAaunKdje7B1D0pPTBlWujsm+YOWld3VjRAklwNuvoWfvkhogTFUXn9b3tnvWy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711454264; c=relaxed/simple; bh=EKJhulSFxLWQLaF7yaxSDnu58jC9IeQn/dXAU0JKliQ=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=QoPZOEwAk0Yt6nEs/hzNVqxnig8kslz/wTvcTI/TW57XOoaVHHnZzsngqormlyVJfCCu+L+CNjtq9lGn6RcoQwcCmOf405Y9daau7UXgq/mE3zda2M5HjZE67E+o1QZhNHGm4UOdeZl2x3HzdUXJ73us5PAoYPZmZ3Gjm9j5F+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hMw4D1PQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E9C1C433F1; Tue, 26 Mar 2024 11:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711454264; bh=EKJhulSFxLWQLaF7yaxSDnu58jC9IeQn/dXAU0JKliQ=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=hMw4D1PQCahqfw8MtYxsjzHrzUNPiIFh/by6PO26L5JBoud0NXvOoP+pWDolP6A7W MHWxMfRihenzXqisqycL3g12C+CTWoltIvH4CNPUdz+72PbKPN+WRf81R/oXG8bDpf T1dkgCTQSYki+AzT7VZB67H8zKEuIGM/3R4nByOKzGAkwCto7GnC2k4qJLIzF7Eq/D /5kSEGrmMOO3Stz0ZnDtyv2/s9EdzPUq06xhiB22b5Veavz/fy0YY//StezneyCMcw b0BhOnWShhQodg0X1OfcREnyS8OlaUMwqW9UypBtbcnB46bzRA+9vjV1wmjQjZJ4Bo J5FymRUa+DgSQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 26 Mar 2024 13:57:37 +0200 Message-Id: Cc: , , , , , , , , , Subject: Re: [PATCH v4 02/14] mm: Switch mm->get_unmapped_area() to a flag From: "Jarkko Sakkinen" To: "Rick Edgecombe" , , , , , , , , , , , , , , , X-Mailer: aerc 0.17.0 References: <20240326021656.202649-1-rick.p.edgecombe@intel.com> <20240326021656.202649-3-rick.p.edgecombe@intel.com> In-Reply-To: <20240326021656.202649-3-rick.p.edgecombe@intel.com> On Tue Mar 26, 2024 at 4:16 AM EET, Rick Edgecombe wrote: > The mm_struct contains a function pointer *get_unmapped_area(), which > is set to either arch_get_unmapped_area() or > arch_get_unmapped_area_topdown() during the initialization of the mm. In which conditions which path is used during the initialization of mm and why is this the case? It is an open claim in the current form. That would be nice to have documented for the sake of being complete description. I have zero doubts of the claim being untrue. BR, Jarkko