From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753951AbcFGG4m (ORCPT ); Tue, 7 Jun 2016 02:56:42 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:65247 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753592AbcFGG4j (ORCPT ); Tue, 7 Jun 2016 02:56:39 -0400 X-IBM-Helo: d23dlp03.au.ibm.com X-IBM-MailFrom: khandual@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 07 Jun 2016 12:24:34 +0530 From: Anshuman Khandual User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Aneesh Kumar K.V" , akpm@linux-foundation.org, mpe@ellerman.id.au CC: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] powerpc/mm: check for irq disabled() only if DEBUG_VM is enabled. References: <1464692688-6612-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1464692688-6612-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1464692688-6612-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16060706-0012-0000-0000-0000019C3595 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16060706-0013-0000-0000-00000559EF92 Message-Id: <57566FAA.7040401@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-07_05:,, 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-1604210000 definitions=main-1606070083 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/31/2016 04:34 PM, Aneesh Kumar K.V wrote: > We don't need to check this always. The idea here is to capture the > wrong usage of find_linux_pte_or_hugepte and we can do that by > occasionally running with DEBUG_VM enabled. > > Signed-off-by: Aneesh Kumar K.V Reviewed-by: Anshuman Khandual