Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2108393rwr; Fri, 21 Apr 2023 04:36:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZEdmHChSnk139vVAqnv5DZ9cCYpG6+4AYyauGQJBCyyycugx/SQ10mFstt9eKWt3ysIEZX X-Received: by 2002:a17:90a:35d:b0:247:b1f7:9f67 with SMTP id 29-20020a17090a035d00b00247b1f79f67mr4452091pjf.4.1682076994877; Fri, 21 Apr 2023 04:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682076994; cv=none; d=google.com; s=arc-20160816; b=brxgUO/JA4Rgt9/Neqx+m4nRQJtVrtXgUN5NKbvJOToWA47wcDaV3nxfvcY3BQxPVO 0xzA44UZytcem1mcmtQDobp7RJBALsGyE689qRTUftXREI/8u/uKShq/7oj1gTWVjKMj JfYaCuFx62YK+0DqLbPDKb2tqdoSHPU2nl/wA0JEcvH/PdMR2TY5wqR8MyrZgUwSEbyJ G9rkBQMof1CLjcQ8gccV2njb1cLKTTNE5OVjwFnk/9+XOcqEYOmuJyeaQ91PgEcAB+UL XQ0A2i6PID+PSbK/FQAyUijeBgI5O+ZCc1UdyOVmm4FYTaDYyzmowQ0tIBMmIO5/h4uT mm0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dW0ZTO5w4dFGIclaFjZs+MtgvYiL2+h8MfYZqNh78A0=; b=cHvJdJjtz6xP+lLcZyuo4v9/hzRhFD5b5EAxL+LqZkUWKwheOJi4mHoGf1M31S6CsN RNTKcW8+K/35+WkJuSttS5U9YecptuNjAHkBWAX76JGIqeto4xCHSurp5c7KmZ6P8kUj 0FoeVGlAC+AH2r0ev4qWAJqVWS+BLB3vd96ViK1D/cA4diallX0MwNqaaa3fnPDEAyBs OvnjKgFyH5nI+2ymzQ/jw370VZzEwn5L+D5X7rt2ufU1uQjQTy012Z/YkbzUjJNdBb+d 27j/q5OVH4ONbX3U91OWrfYdTnzM6/pgChn9K/yIPXORa1BAM0vx9omMh2eA5Jc2/WpA WlfA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b00524d1d335bbsi2205784pgp.56.2023.04.21.04.35.55; Fri, 21 Apr 2023 04:36:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbjDULbg (ORCPT + 99 others); Fri, 21 Apr 2023 07:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjDULbe (ORCPT ); Fri, 21 Apr 2023 07:31:34 -0400 Received: from ubuntu20 (unknown [193.203.214.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44FA7A5DD for ; Fri, 21 Apr 2023 04:31:32 -0700 (PDT) Received: by ubuntu20 (Postfix, from userid 1003) id B10A7E07E0; Fri, 21 Apr 2023 11:31:30 +0000 (UTC) From: Yang Yang To: vbabka@suse.cz, akpm@linux-foundation.org Cc: hannes@cmpxchg.org, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rppt@kernel.org, yang.yang29@zte.com.cn Subject: Re: [PATCH linux-next v2] mm: workingset: update description of the source file Date: Fri, 21 Apr 2023 19:31:30 +0800 Message-Id: <20230421113130.240586-1-yang.yang29@zte.com.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <0ddb50f0-2e2d-e750-3867-3842a3ea12cc@suse.cz> References: <0ddb50f0-2e2d-e750-3867-3842a3ea12cc@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FSL_HELO_NON_FQDN_1, HEADER_FROM_DIFFERENT_DOMAINS,HELO_NO_DOMAIN,NO_DNS_FOR_FROM, RCVD_IN_PBL,RDNS_NONE,SPF_SOFTFAIL,SPOOFED_FREEMAIL_NO_RDNS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: *** 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 > I'm late but FWIW, not supper happy that while the updated calculations are > now accurate wrt the actual code, the explanation (which was written at the > time of page cache-only workinset) was more easier to follow in the simpler > form. Now it's still mostly talking about page cache and explaining the >balance between its active and inactive list only, and then suddenly the > anon lists appear out of nowhere in the final equations. Thanks for your reviewing! I should update the whole parts. Sorry for hadn't do it better, please drop the patch, I will try to submit patchv3 to fix this. > In other words, I think it would have been better to leave that explanation > as it was, and then add a new part describing the extension to anon pages. I read the description of the source file again carefully, and think that there is no need to creat a new part, if we explain at the begining that the word 'pages' include page cache and anonymous page, and do some minor adjustments. For example: Per node, two kinds of clock lists are maintained for pages..