From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 167D7C3F68F for ; Tue, 17 Dec 2019 12:48:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C8D4E24655 for ; Tue, 17 Dec 2019 12:48:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="aBPRZsH/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8D4E24655 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6486B8E0063; Tue, 17 Dec 2019 07:48:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5F94F8E0040; Tue, 17 Dec 2019 07:48:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4E93D8E0063; Tue, 17 Dec 2019 07:48:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0131.hostedemail.com [216.40.44.131]) by kanga.kvack.org (Postfix) with ESMTP id 365758E0040 for ; Tue, 17 Dec 2019 07:48:13 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id EF68F824999B for ; Tue, 17 Dec 2019 12:48:12 +0000 (UTC) X-FDA: 76274611224.13.badge97_81df22057314d X-HE-Tag: badge97_81df22057314d X-Filterd-Recvd-Size: 3263 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by imf45.hostedemail.com (Postfix) with ESMTP for ; Tue, 17 Dec 2019 12:48:12 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id r14so7674741qke.13 for ; Tue, 17 Dec 2019 04:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=wzOsaTy37YVhJkswFmGvk92S/B8MsC+ITE+1Iqoh25g=; b=aBPRZsH/Sfs64AE3u3kW7ANtwYNQ2c4YQLMRAMI+8xHtmk/fnyElNYBvbVIskkwtpq EBM0fihWBDRlg8o2yR/qSymZa36IyZUnDRzR2YjEE1kVwz/MaMnHbzfVhEDFsHWAPvBC yaRfeDe7cvrYnwFOFR5TuAjiQGV4ojCOvboNoMic/ypR/5bhPo1uAYSoN00YqNJEQmGE 6ty7tArXC4tfhO8XGoVD+Gej4hC8vHw7A5R0reslUTXXyK/xarPIZyda5+sGt07JaqsP Ny9vv1ERG8OAxqnhSRmlk+x/IZLTzZ8qfWngWnq1Tsf/lMYy0cfQxoHIwlb2n+Dp8VWX rsCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=wzOsaTy37YVhJkswFmGvk92S/B8MsC+ITE+1Iqoh25g=; b=NVxOM7oCpRIqdfamtC4x4HZ/HwR9Sbxx8wIoSPApkX/eqytoYzBYcHx62jMM4Y8gwj OD2rvQZpQsuvyK+E8Ny5LCGli9yV9FA7X7q4dUkuwD4GNLb88CNnmILpccDN6np3yQAE I3NOBLovc/h25bRqNvyzxxIr+SePeKL36QryAPfPW4q9LWPrFnYPg4atsBrY1unvszkn BsE9sfBfFQE8HNdvxGULo1Pl+h5uquNY2644I79KgZrhFkxmFbOIBaRjBdcb7nb6ZHc+ g+uyb3USmF5qzocDrlN8pmKcMpklb6VUohxCRAuFGn3u1rvyAbOu757grq5fhxvmyl3q WZbg== X-Gm-Message-State: APjAAAWT9u9+euZng4iHygVY8/hj59cUyHGKQXYL4Zx2F223wmARymbF 4Br2gR8tL9cO9AnN3v4ZTe2Ed35tkMI= X-Google-Smtp-Source: APXvYqwHTaCyhbqwJUYKrw0ZZj/f2bj/1jLWa3eyB/i5hKwSCtnzziH/aCeNS4Svx/9f5aXlXC34XQ== X-Received: by 2002:a05:620a:1472:: with SMTP id j18mr4911093qkl.184.1576586891494; Tue, 17 Dec 2019 04:48:11 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id y18sm7017250qki.0.2019.12.17.04.48.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Dec 2019 04:48:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm: remove dead code totalram_pages_set() Date: Tue, 17 Dec 2019 07:48:09 -0500 Message-Id: <8456A27B-5F32-4BED-B826-27B17E87AA81@lca.pw> References: <20191217064401.18047-1-richardw.yang@linux.intel.com> Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <20191217064401.18047-1-richardw.yang@linux.intel.com> To: Wei Yang X-Mailer: iPhone Mail (17C54) X-Bogosity: Ham, tests=bogofilter, spamicity=0.255497, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Dec 17, 2019, at 1:44 AM, Wei Yang wrot= e: >=20 > No one use totalram_pages_set(), just remote it. It is unlikely that this is unintentional, but can you figure out which comm= it removed the last caller just in case?=