From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752476AbdGEKAm (ORCPT ); Wed, 5 Jul 2017 06:00:42 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36828 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752364AbdGEKAl (ORCPT ); Wed, 5 Jul 2017 06:00:41 -0400 Subject: Re: [PATCH] mm: vmpressure: simplify pressure ratio calculation To: zbestahu@aliyun.com, akpm@linux-foundation.org, minchan@kernel.org, mhocko@suse.com References: <1498889619-3933-1-git-send-email-zbestahu@aliyun.com> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yue Hu From: Anshuman Khandual Date: Wed, 5 Jul 2017 15:30:26 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1498889619-3933-1-git-send-email-zbestahu@aliyun.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable x-cbid: 17070510-0040-0000-0000-0000033E6162 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17070510-0041-0000-0000-00000CB98C03 Message-Id: <7e3f0d4c-b211-791c-d9e2-760f6f05757e@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-05_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1707050166 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/01/2017 11:43 AM, zbestahu@aliyun.com wrote: > From: Yue Hu > > The patch removes the needless scale in existing caluation, it > makes the calculation more simple and more effective. > Could you please explain how the new calculation is better than the old one ?