Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6787970pxv; Fri, 30 Jul 2021 02:18:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz04Y+KfWw4CSbb/e3w21i0lAdQipaKzHciHN/Kbw33uu7B8Oqlatkz8Wz7FQpJiNO75K9I X-Received: by 2002:a6b:b5ce:: with SMTP id e197mr1644680iof.123.1627636726292; Fri, 30 Jul 2021 02:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627636726; cv=none; d=google.com; s=arc-20160816; b=Dr9+96fmJDOV7Ohubk/FhXklzswHyaNT+2685p9TiV5mZjB6AsyT265y1UY2HpXecs 2S64Zu/YNXb8M0EvJUiUe6qqawSuaZ5G9qJkEezQsKd2WIxkJO6CPmtF2Zk2VvG0RysJ tcmXf6xJhUOQ9v9/0HR8fWvqlbt98Wy/MGt9nmgL10hU0zH1AA0bl8WoIZFh8yWv4K6T RJVWAKl42ojwj05CU14WwQxpNTXWHn9JGPdfvAzdwE68jGe9yjNYtFPNCbeQaiySrLw+ flO1EGQBXgN/Rc0J2A1/kYpNSBY4UR8exYTEOvQI5r90eJq3NTiJFfRNJ36Ps7OK7w73 Gwcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=/zY1bTaUTwe02HOCyGjtvAnuXlFEWzzopPrkJZBvT6Y=; b=mbCaubOyvIKwt2egoiymqKH6ffPm6d2MTOgrdX83swZsSfIRONHcj36joa3LZPDn32 zijg7773b/zPXbH3yehiPISyZBP+26ZRxibiiOYSnsVyfLvVOSZGcioRDKESnQv/Rt48 phhdGgjfXlUC+vTqDTNJkWcqsTwIhdROThzVc9h7a2zlqDiWAe+gBQNTFIMh1qaPWGdW 84Q3/0PpN2i+t+kr0kTxrKssQjhads2KtB8JKLyhJ3kouxY4cXzBaILBUavEJ6GDnvNH MtW0iFx6qpYj3pHmu4pv/OUmA2ltLcc96F0MQQiL9KxgmaTZ6M/MvK+EVX3REyzeEAn1 OWJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RmVj6FnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q21si1316394jat.69.2021.07.30.02.18.34; Fri, 30 Jul 2021 02:18:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RmVj6FnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238089AbhG3JRb (ORCPT + 99 others); Fri, 30 Jul 2021 05:17:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:25377 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbhG3JRa (ORCPT ); Fri, 30 Jul 2021 05:17:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627636645; 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=/zY1bTaUTwe02HOCyGjtvAnuXlFEWzzopPrkJZBvT6Y=; b=RmVj6FnP1sV6VTF7McBdNooZlXos8FhCFwP2qoQO/FseXp8WIgvV7BOIFDRo6zgPho72tO OcMPGO5MoAz9n1Sz0LLTHZYs7t0m+myTszqYHgnwPxKuzAR0QnburEwvz4yd+GCsFjCaOl HvjtbvYt1zL58Eq0vaDHR69TDsFp/E4= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-4-xA6QOlYDN6GtPNa_68fSiw-1; Fri, 30 Jul 2021 05:17:24 -0400 X-MC-Unique: xA6QOlYDN6GtPNa_68fSiw-1 Received: by mail-wr1-f69.google.com with SMTP id c5-20020adfed850000b02901537ecbecc6so2999288wro.19 for ; Fri, 30 Jul 2021 02:17:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=/zY1bTaUTwe02HOCyGjtvAnuXlFEWzzopPrkJZBvT6Y=; b=EIYs0dmoVYmPn3LnT9Csf2j22w8FSipvuc24078QhVo9MDwlSpKdoTYqbIgSNJe4h3 Pzph13CsZg992gh5hfMt3FjOOJ9Nii9xPSgS1kekhVqi/EsdjLXOY5GRafpGPOefUWwr lieWk+KpOi2giWA7VMDPT2ZRO3IcZSH/d+AnNUPbANVy/69mgUOlLHsMQom0BxUxZtAv bZAu/FZmBNsP1wicUR5cBOJkJloPpmIa4RftW1pkb+6sIhoR2KAdnU2lGtVP+V+Sxonp bygyKS7rDAYhcuRh3eNaMA0Rh2kt78fTuI7dFr4UDKcu8wYipVUWuVcz+xUlMAgAQMBR BeSA== X-Gm-Message-State: AOAM531HXUMji2gLD6nTtwJOVgPIGquadOb6z5uIq3y0cmwTwvjrpdu+ O9CtwiYI13UtD80dY2MGHpXyguznm1AEAMmMb4aLr8O3Rrh5LbJmVK3jao62DYT+3JTZNzelfQy rt2agwny5ULTjb8g0Sb0+kGpR X-Received: by 2002:a5d:6589:: with SMTP id q9mr1987680wru.284.1627636643015; Fri, 30 Jul 2021 02:17:23 -0700 (PDT) X-Received: by 2002:a5d:6589:: with SMTP id q9mr1987658wru.284.1627636642863; Fri, 30 Jul 2021 02:17:22 -0700 (PDT) Received: from ?IPv6:2003:d8:2f0a:7f00:fad7:3bc9:69d:31f? (p200300d82f0a7f00fad73bc9069d031f.dip0.t-ipconnect.de. [2003:d8:2f0a:7f00:fad7:3bc9:69d:31f]) by smtp.gmail.com with ESMTPSA id e3sm1063745wrw.51.2021.07.30.02.17.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 02:17:22 -0700 (PDT) Subject: Re: [PATCH] mm: delete unused get_kernel_page() To: John Hubbard , Andrew Morton Cc: LKML , linux-mm@kvack.org, Mel Gorman , Rik van Riel , Christoph Hellwig , "David S . Miller" , Eric B Munson , Eric Paris , James Morris , Mike Christie , Neil Brown , Peter Zijlstra , Sebastian Andrzej Siewior , Trond Myklebust , Xiaotian Feng , Mark Salter References: <20210729221847.1165665-1-jhubbard@nvidia.com> From: David Hildenbrand Organization: Red Hat Message-ID: <3551cde6-b48f-8cfc-7b64-b3341e717716@redhat.com> Date: Fri, 30 Jul 2021 11:17:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210729221847.1165665-1-jhubbard@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30.07.21 00:18, John Hubbard wrote: > get_kernel_page() was added in 2012 by [1]. It was used for a while for > NFS, but then in 2014, a refactoring [2] removed all callers, and it has > apparently not been used since. > > Remove get_kernel_page() because it has no callers. > > [1] commit 18022c5d8627 ("mm: add get_kernel_page[s] for pinning of > kernel addresses for I/O") > [2] commit 91f79c43d1b5 ("new helper: iov_iter_get_pages_alloc()") > > Cc: Mel Gorman > Cc: Rik van Riel > Cc: Christoph Hellwig > Cc: David S. Miller > Cc: Eric B Munson > Cc: Eric Paris > Cc: James Morris > Cc: Mike Christie > Cc: Neil Brown > Cc: Peter Zijlstra > Cc: Sebastian Andrzej Siewior > Cc: Trond Myklebust > Cc: Xiaotian Feng > Cc: Mark Salter > Signed-off-by: John Hubbard > --- > > Hi, > > Just a minor decluttering: I ran across this while looking for something > else entirely, and then noticed that it's been orphaned for quite a long > time. It seems like only the plural form of this function is needed > these days, and probably in the coming days as well. > > thanks, > John Hubbard > NVIDIA Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb