Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1333539rdb; Mon, 2 Oct 2023 06:39:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqGMq5coCSFwwZQI0CvswLLnuVyNd8/1PIN6NKqsRQDCzEMIPXZQnar9PVKDqPlZGJTPFM X-Received: by 2002:a17:90a:bb88:b0:269:46d7:f1db with SMTP id v8-20020a17090abb8800b0026946d7f1dbmr11791612pjr.32.1696253955972; Mon, 02 Oct 2023 06:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696253955; cv=none; d=google.com; s=arc-20160816; b=VCZNTRiDwMh1BlUpeGswh76I0/b3ZAgcUza+016O4XnbCzwFHLpLqlC1PRx27yn5c7 jSuWcaFqfDSx5QWPhPWKvlDnScMg+BEIgGK/kyVdCOr/E8L5QW97otuIjDjWEIeS/IVg /SYlNaEt9l5yRf1oh4SWW8tSAcmpAGPXj/bEVaGwoqk0G4eSwRS6XnBv82B+ZnyCZ+aE WxZ4o5PFsPbvGm6czoliY1BHjnx7lIICGRDu8y5PG5Nr6rQQe4DHS8GYO/p048rI2ngW pqIDJ+gJc2VKQ8THibPBHIO3QuoLf9jz6Ukw7YofkuYAHfZCXe9PodJaSRbv9ey3i7Jc I92Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=eNg3nEOpUwhfLtl4Gfv+d61zrXncWfZX/sb9x36c/O4=; fh=JJ8aRrpI7BiSqERYEJ/uCOnbMrZPXb+v6eLQfglDdgw=; b=nyNSCuvqrc3mPAJKPzNIcHdxXvynTDwv1xLM64VHRwFT9w5Lv9A2hSQb4dacXUnOkJ lN9OsD0v4v7jvdXxTfXmlLFq/9uFa7ztMXg4VcCsdvuVF6yGZvNnG+2OZ0kbL70ILsIn AX5vH5uUmkFKU+EsQxRmR89N7HctVV8mNrVmDTdpNoJnr+zb/RY0Hk+VU/wf1frGns51 8HMMTXShn8hr9FrIpB+SFLgjTGJkPd2lr1WTOYTrgeJAZo5Xu1LohtdEz3r3vXOLPZOY oRVY/ZzhE3HQKBl9EYvH2LakhRtnDGCUD90uMt5s4pNhoc0ifno53SNkF0p5+tj67UOX E7Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Kg/Qf9Mn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id lk12-20020a17090b33cc00b002791b907f0csi5468294pjb.121.2023.10.02.06.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 06:39:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Kg/Qf9Mn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id ADA3F8083AE2; Mon, 2 Oct 2023 04:00:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236583AbjJBLAp (ORCPT + 99 others); Mon, 2 Oct 2023 07:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236192AbjJBLAm (ORCPT ); Mon, 2 Oct 2023 07:00:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DD75B7 for ; Mon, 2 Oct 2023 03:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696244391; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eNg3nEOpUwhfLtl4Gfv+d61zrXncWfZX/sb9x36c/O4=; b=Kg/Qf9MnggE64wzKikXttXxSKSBZ/u9toNDRKqzKcXxdy5O3bq5paoKknl7fvshx7XtEI8 HuIspAOckrdxSMh7mwhxvZ8nXqvwPcNr9jTJaBGNwMIYsRajd9U/bk/lXoxyspbG83haIi gJn5z0rM0YTrYduCksyxcFkjnvEA958= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-271-VIlZqTmqNBi_eyQO1T6l6w-1; Mon, 02 Oct 2023 06:59:27 -0400 X-MC-Unique: VIlZqTmqNBi_eyQO1T6l6w-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-321726b0238so11712320f8f.2 for ; Mon, 02 Oct 2023 03:59:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696244366; x=1696849166; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eNg3nEOpUwhfLtl4Gfv+d61zrXncWfZX/sb9x36c/O4=; b=OxIRPw3c8DjuSaEkOiqJjEllYy8shegocirAt++WFx5u0Vq5m9qU9tmWCa9+SlgHNL 4xYLQS78lzDIiNgdnEenhDLVgDrB8ddJ7MzF2yJvD5MaV5xrrcSzvRx0fA0JbiyRxxV5 zEab0UINa46mqzXbEs4wUzjHcbII5vaBWhgo8TEJ0vw7Ecm9bMK/6PDas3PwYLyYw3T0 99j9K28cNnZiFdii+gucl45Gpzas8NScQ48ORAtRpPOcakH1cVNnPAVkV7QzvHWJeGMB FisaY/BnggBK0M0U4WwsPtAv6HeAYyjrVkZQIKrZRDoYPg9q9+cJ+hYWQHj9uVqMoOx6 nv8Q== X-Gm-Message-State: AOJu0Yw2jVdL0ttzup20xM/nQYUdjBSu9xuaHWATzQm1zfiutvdvi5OY mq2bLOqUQH32hdk6wENZ5AVuoyLmd8OjvV1nReIxWf5ZbTKwytDbAh5X9pjCdORVV/60oTWG1E8 RSbYzW8bFRuuFflw8xbSjyNWj X-Received: by 2002:adf:e5d0:0:b0:324:8700:6421 with SMTP id a16-20020adfe5d0000000b0032487006421mr9940111wrn.3.1696244366408; Mon, 02 Oct 2023 03:59:26 -0700 (PDT) X-Received: by 2002:adf:e5d0:0:b0:324:8700:6421 with SMTP id a16-20020adfe5d0000000b0032487006421mr9940090wrn.3.1696244365935; Mon, 02 Oct 2023 03:59:25 -0700 (PDT) Received: from ?IPV6:2003:cb:c735:f200:cb49:cb8f:88fc:9446? (p200300cbc735f200cb49cb8f88fc9446.dip0.t-ipconnect.de. [2003:cb:c735:f200:cb49:cb8f:88fc:9446]) by smtp.gmail.com with ESMTPSA id x5-20020adfdcc5000000b0031c6581d55esm28162012wrm.91.2023.10.02.03.59.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Oct 2023 03:59:25 -0700 (PDT) Message-ID: <428d07a6-bdc6-c12b-1b7e-e271bd841ff5@redhat.com> Date: Mon, 2 Oct 2023 12:59:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 1/4] mm: make __access_remote_vm() static Content-Language: en-US To: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Catalin Marinas , Will Deacon , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland Cc: Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Oleg Nesterov , Richard Cochran , Jason Gunthorpe , John Hubbard , Arnd Bergmann References: <70436dcf596565770e604a4fc4e8f27a14c85166.1696174961.git.lstoakes@gmail.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <70436dcf596565770e604a4fc4e8f27a14c85166.1696174961.git.lstoakes@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 04:00:59 -0700 (PDT) On 01.10.23 18:00, Lorenzo Stoakes wrote: > access_remote_vm() passes through parameters to __access_remote_vm() > directly, so remove the __access_remote_vm() function from mm.h aand use > access_remote_vm() in the one caller that needs it (ptrace_access_vm()). > Wondering why we even still have __access_remote_vm() in the first place, if it really should just be access_remote_vm() directly. Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb