From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9556C2D0E4 for ; Thu, 19 Nov 2020 08:46:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 90D5122253 for ; Thu, 19 Nov 2020 08:46:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbgKSIqF (ORCPT ); Thu, 19 Nov 2020 03:46:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:54326 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbgKSIqF (ORCPT ); Thu, 19 Nov 2020 03:46:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 398D9AD2B; Thu, 19 Nov 2020 08:46:04 +0000 (UTC) Date: Thu, 19 Nov 2020 08:46:01 +0000 From: Mel Gorman To: Linus Torvalds Cc: Thomas Gleixner , LKML , the arch/x86 maintainers , Christoph Hellwig , Matthew Wilcox , Daniel Vetter , Andrew Morton , Linux-MM , Peter Zijlstra , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira Subject: Re: [patch V4 2/8] mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP Message-ID: <20201119084601.GG3306@suse.de> References: <20201118194838.753436396@linutronix.de> <20201118204007.028261233@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 18, 2020 at 01:13:57PM -0800, Linus Torvalds wrote: > On Wed, Nov 18, 2020 at 12:58 PM Thomas Gleixner wrote: > > > > Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP which forces the temporary > > mapping even for lowmem pages. This needs to be a seperate config switch > > because this only works on architectures which do not have cache aliasing > > problems. > > Very good. And you made sure to have a comment to not enable it for > production systems. > > Hopefully people will even read it ;) > And not start thinking it as a security hardening option. -- Mel Gorman SUSE Labs