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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 0F3D3C43465 for ; Sun, 20 Sep 2020 17:48:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9044820789 for ; Sun, 20 Sep 2020 17:48:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="cBDZkiv4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9044820789 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5ADE899EA; Sun, 20 Sep 2020 17:48:50 +0000 (UTC) Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFD99899EA for ; Sun, 20 Sep 2020 17:48:48 +0000 (UTC) Received: by mail-ej1-x643.google.com with SMTP id r7so14599549ejs.11 for ; Sun, 20 Sep 2020 10:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ejz/GOVvBNgiciatH4EjBRwlfy2MnL1tDSObr2BrKeg=; b=cBDZkiv4uiqeUChUbmqRPD8tkvllq4angLGjbI6fcWbyt0pYNQ1SGMQdEdmcewXaXT IE5S9J/GFuNXr/rpY1dC/0Yf7uyzIPTs0u+8f3gLaQ3BI+ak5trluGhkQvuTa+ZLZ3HS UcueGtftJ4Q3p1fqvR6MgwdAfAMUTTFhAr56U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ejz/GOVvBNgiciatH4EjBRwlfy2MnL1tDSObr2BrKeg=; b=eEIE9ZleQTYtqiUIi6ejY3zFj3Bh2JMB1gVr/VrTsG3I6o76woG7ll/WzQDisdt8sN OvOLEQW3/xeKJ//0jHZqfh8JpjAIG5B6yS6cUjEqHvaGSOog7OcuiTOrVaFEtwndLBJJ ePiCeVvwHz/qMac+u8F52MMVC48RjHMETWP1wubWI+9MgoaAe4I57upVaCT4tLSdK+Ur 6ntVfzudXBh7/cqhB5KdqyCjNtMC2AYOOrGXxlgp1eBOwjCpLoj8ug4O4m9Zt66x61tq YDuadjzxwmSjQBKGwe4CbGPt7Gtn6z4420y7C93NVAZfnNozJbRhpyZXE9iWjNHBR2o7 DSqg== X-Gm-Message-State: AOAM531bzYnfxQInmr3Jx/aiNEr7T2YmoQ/H8Cy4kgdqYIGsgJHTEvvb O9mie6Gs7B0OfTWW2Ax2jOv1ITZLuwc9yw== X-Google-Smtp-Source: ABdhPJxxJgemUudg+C+9kZ0Nu4LdKrzmOYMFKTzDqIwkuU05lh880epo5r5PbT7RdGON43MWhdGQMw== X-Received: by 2002:a17:906:a101:: with SMTP id t1mr45248062ejy.203.1600624127282; Sun, 20 Sep 2020 10:48:47 -0700 (PDT) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com. [209.85.221.52]) by smtp.gmail.com with ESMTPSA id b6sm6963821eds.46.2020.09.20.10.48.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Sep 2020 10:48:47 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id z4so10420973wrr.4 for ; Sun, 20 Sep 2020 10:48:46 -0700 (PDT) X-Received: by 2002:a2e:84d6:: with SMTP id q22mr13708479ljh.70.1600623791519; Sun, 20 Sep 2020 10:43:11 -0700 (PDT) MIME-Version: 1.0 References: <20200919091751.011116649@linutronix.de> <87mu1lc5mp.fsf@nanos.tec.linutronix.de> <87k0wode9a.fsf@nanos.tec.linutronix.de> <87eemwcpnq.fsf@nanos.tec.linutronix.de> In-Reply-To: <87eemwcpnq.fsf@nanos.tec.linutronix.de> From: Linus Torvalds Date: Sun, 20 Sep 2020 10:42:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends To: Thomas Gleixner X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juri Lelli , Peter Zijlstra , Sebastian Andrzej Siewior , dri-devel , linux-mips@vger.kernel.org, Ben Segall , Max Filippov , Guo Ren , linux-sparc , Vincent Chen , Will Deacon , Ard Biesheuvel , linux-arch , Vincent Guittot , Herbert Xu , Michael Ellerman , the arch/x86 maintainers , Russell King , linux-csky@vger.kernel.org, David Airlie , Mel Gorman , "open list:SYNOPSYS ARC ARCHITECTURE" , linux-xtensa@linux-xtensa.org, Paul McKenney , intel-gfx , linuxppc-dev , Steven Rostedt , Rodrigo Vivi , Dietmar Eggemann , Linux ARM , Chris Zankel , Michal Simek , Thomas Bogendoerfer , Nick Hu , Linux-MM , Vineet Gupta , LKML , Arnd Bergmann , Paul Mackerras , Andrew Morton , Daniel Bristot de Oliveira , "David S. Miller" , Greentime Hu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sun, Sep 20, 2020 at 10:40 AM Thomas Gleixner wrote: > > I think the more obvious solution is to split the whole exercise: > > schedule() > prepare_switch() > unmap() > > switch_to() > > finish_switch() > map() Yeah, that looks much easier to explain. Ack. Linus _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel