Received: by 10.213.65.68 with SMTP id h4csp459984imn; Tue, 13 Mar 2018 09:45:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELvC8IrwoxNz0FJRrB+gSFH3hjM6U0VvGvhEsaiMN5lxmCIHNqskmz/+Hr5RnankrZgAgt+i X-Received: by 10.98.20.22 with SMTP id 22mr1201624pfu.141.1520959518947; Tue, 13 Mar 2018 09:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520959518; cv=none; d=google.com; s=arc-20160816; b=ntUYupiCICIlpZxm9bhXnpA2SprgzJfNFSrq9PPPcGe6dlcX0HGIw39MGhGGGrqdt/ NJPtfSIjbTz2D3/JNuCS8Y5sexUA5DnBTj2GcDgG0OxmpUfGCutbRgPxFpMuGf0MWmDM 27r1ocqIpoGG383LGpIVpaxdAEWw+fLMAGYO7Mxsb7pnhOi3vF2tRsRWCjvig2kI3dOL eaOfscErR274DODqn71l1NV7nNJ6O7yNqvCe3tMRykyH7oGLim4RkGEuKfkDjrR98a80 PXtNu5JpXVWawyDITpfRfoc0NWrhB616Vq1MM6Yxw9GLuIsN9FQX3VRGjRq6pkRNsE3J QcwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=96JPtcrfuam8tPFLk5rLV0VNZ/S0Tz0Ri5QdUY0k82Y=; b=uYEE1eKxgQrK0rDzcv1dws7eUkhgqFn9vOrq1Yf0WF9IZ5nOBfXTe4sAvHeBmdYYVi CAkVsj3btwUkTO/26ereTsbt1KdW7LhqLju8zNxNR/u7AcuG4t2sGL93j9Gfqp9J5jBa nW3B/ws3j2HYlIvZcAi3WwwjkFhAVgQw+VBaSBKfH8nf/qPn1NamzTBZT2gcQyr65ya1 hbr9jDfLahOwwYlby4dOigZuY55ENP3zP7ZGHrVKWoO6De46lQuAcwXK7EyNAtqrfQp2 AGIuZAe19IcoO04iNiUPKSEA6QO0C1POllDVbKA28JRji3fovARt5X1gELoTpRVmo/xX oJRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y22si288060pfm.357.2018.03.13.09.45.04; Tue, 13 Mar 2018 09:45:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933327AbeCMPb2 (ORCPT + 99 others); Tue, 13 Mar 2018 11:31:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59244 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933311AbeCMPbZ (ORCPT ); Tue, 13 Mar 2018 11:31:25 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 084C2F8F; Tue, 13 Mar 2018 15:31:25 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jann Horn , Thomas Gleixner , Andy Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , Ingo Molnar Subject: [PATCH 4.15 084/146] x86/mm: Remove stale comment about KMEMCHECK Date: Tue, 13 Mar 2018 16:24:11 +0100 Message-Id: <20180313152327.298574843@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152320.439085687@linuxfoundation.org> References: <20180313152320.439085687@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jann Horn commit 3b3a9268bba62b35a29bafe0931715b1725fdf26 upstream. This comment referred to a conditional call to kmemcheck_hide() that was here until commit 4950276672fc ("kmemcheck: remove annotations"). Now that kmemcheck has been removed, it doesn't make sense anymore. Signed-off-by: Jann Horn Acked-by: Thomas Gleixner Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180219175039.253089-1-jannh@google.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/x86/mm/fault.c | 4 ---- 1 file changed, 4 deletions(-) --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -1248,10 +1248,6 @@ __do_page_fault(struct pt_regs *regs, un tsk = current; mm = tsk->mm; - /* - * Detect and handle instructions that would cause a page fault for - * both a tracked kernel page and a userspace page. - */ prefetchw(&mm->mmap_sem); if (unlikely(kmmio_fault(regs, address)))