Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp691371ybt; Wed, 1 Jul 2020 07:54:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy+zqQ3pxLB348CmwcDtWrGLnA/j3vJM+bQyw1ANsLrXlvM5WYz6TNExuSaB1lHrLPzTVU X-Received: by 2002:a17:907:2108:: with SMTP id qn8mr19046962ejb.16.1593615262952; Wed, 01 Jul 2020 07:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593615262; cv=none; d=google.com; s=arc-20160816; b=qismZeoyRQT4V/fDmlwF99G5WYO7Tnqouz5rZ7gpjFOFO09Es2RIgMj6SJ9cuvc6ew YZDSaRYjSuj1cG8tzaaoLOsuRWlqesbLObyq65xGgmnIDRT4k9gMCEUdkoSOG+3njDoy YuwWbzzRV0jvR4DHZJ5kuXYgidde0YxIgL2Enjt6ZUsou6xfDtOJ9byCsoZKf2ItraTv anmyl/4ESwG8m2FtE8KGpY+A+oZtIphZJn3gUatEQ3zIshF4dyGZY0RfDUVJf/IQ3M8Z 1KEHx2FAuAH4QXkKt6IbrThW30cnTAk3wiHCb9BFviL9PpnqFERMCMEdnamEbktSF82m 7WaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=orxt426BkW/CHXeUKTsbRcdci2HhCc4CFpB/tAp9mFs=; b=JRyVlNAXd1RgwUduQoZWXHvtWEwYfxUG24bqAAkgqI7NsBHjbfIQjItks4qJzPERGG 6omc711Tz4SVJdpAdeL72+htu975GR+0j27uOUn+3Fa1Ur9s3KTmupl33eA0X5LZFJIe D4nHgfHj5onlgedRnSbnjr5WiXfRtCvCIXlMIQewSn/9dw6iQdVq0O+EULJjd2l0nGcz beCvHmYkAz3/8OnZjd7NWT05EYVcJ1zfr3O9K5Y+GR8heWdShN0A5jVWZ+IXVh3Yj0ao BVySmD53EbVSjEqJrzUkaKt+jPlviZWDdDERj/J8ayJRwUnSsCm6p0MBCPn0kQibDnXq HNBw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z20si3989599ejb.342.2020.07.01.07.53.59; Wed, 01 Jul 2020 07:54:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731586AbgGAOww (ORCPT + 99 others); Wed, 1 Jul 2020 10:52:52 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:15346 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730264AbgGAOww (ORCPT ); Wed, 1 Jul 2020 10:52:52 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 061EWl2w134335; Wed, 1 Jul 2020 10:52:43 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 320s3y7h6w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Jul 2020 10:52:43 -0400 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 061EnRpd187780; Wed, 1 Jul 2020 10:52:42 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 320s3y7h5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Jul 2020 10:52:42 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 061EnWVD028633; Wed, 1 Jul 2020 14:52:40 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma04ams.nl.ibm.com with ESMTP id 31wwr8d1qm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Jul 2020 14:52:40 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 061Eqbuk35520754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Jul 2020 14:52:37 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 89FC44C04A; Wed, 1 Jul 2020 14:52:37 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EB8B94C040; Wed, 1 Jul 2020 14:52:36 +0000 (GMT) Received: from thinkpad (unknown [9.171.4.64]) by d06av22.portsmouth.uk.ibm.com (Postfix) with SMTP; Wed, 1 Jul 2020 14:52:36 +0000 (GMT) Date: Wed, 1 Jul 2020 16:52:36 +0200 From: Gerald Schaefer To: Peter Xu Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , John Hubbard , Michael Ellerman , Andrea Arcangeli , Linus Torvalds , Will Deacon , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: Re: [PATCH v4 18/26] mm/s390: Use general page fault accounting Message-ID: <20200701165236.633d82fa@thinkpad> In-Reply-To: <20200630204548.39342-1-peterx@redhat.com> References: <20200630204548.39342-1-peterx@redhat.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-01_08:2020-07-01,2020-07-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 adultscore=0 mlxlogscore=818 lowpriorityscore=0 cotscore=-2147483648 impostorscore=0 suspectscore=0 phishscore=0 mlxscore=0 clxscore=1011 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2007010104 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Jun 2020 16:45:48 -0400 Peter Xu wrote: > Use the general page fault accounting by passing regs into handle_mm_fault(). > It naturally solve the issue of multiple page fault accounting when page fault > retry happened. > > CC: Heiko Carstens > CC: Vasily Gorbik > CC: Christian Borntraeger > CC: linux-s390@vger.kernel.org > Signed-off-by: Peter Xu > --- > arch/s390/mm/fault.c | 16 +--------------- > 1 file changed, 1 insertion(+), 15 deletions(-) Reviewed-by: Gerald Schaefer Acked-by: Gerald Schaefer