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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 231F6C47423 for ; Thu, 24 Sep 2020 19:37:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C74BC2220D for ; Thu, 24 Sep 2020 19:37:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Kr4u0+wK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728821AbgIXThA (ORCPT ); Thu, 24 Sep 2020 15:37:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:46900 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728781AbgIXThA (ORCPT ); Thu, 24 Sep 2020 15:37:00 -0400 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600976218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=twNrygaxLsVZPNKYCHY3ZfHX7UvhS+LdDIfmkCz5FTg=; b=Kr4u0+wKDT4eE4Ovfk8dVq+zwEnG3+m9nBXV98aP7EduhHCHW16A+CAkoAsez2npbw8dyM F42oliu8ePZ+iErn6O4Kku3QUN9ZIpqaI29BaqqCM/MwyQAJ1jE7qUu8VTcTnyor0Tjv1G AGafI+2TkSoImau4U/fywK786XFkk6M= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-215-ScEXMgfTOjaTARK8VnAmnA-1; Thu, 24 Sep 2020 15:36:56 -0400 X-MC-Unique: ScEXMgfTOjaTARK8VnAmnA-1 Received: by mail-wm1-f72.google.com with SMTP id b14so126237wmj.3 for ; Thu, 24 Sep 2020 12:36:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=twNrygaxLsVZPNKYCHY3ZfHX7UvhS+LdDIfmkCz5FTg=; b=DSNuzNWgo1cg5w+mZ9PuaMNrlH+js8VVWMjMr7sFuJEKRA/q0vIoCJwLNqsUD3dpQf MzM5tj75MMUydgFVbC0nqkONO0WaMP/I6lv7MLSdAjjvtgNfwesz2P2/IexN5EUSsV3L oRHQHiTdJ+BLzEKkSngbw1ubeExl4pc1XldUL7uLuud6koNPLbvvCkLhxXnoRlC9SAIW pA+ZcobEzMzelNb+7wuExcHSq6h6x9ZcqEje0FnT2DAyDTeuJu5I+64kjT2gdWLeybKp oYZ5QmNbw0a47felithlk0rlQ8JAAyEF13F//BvAWs9FWYrxW5iYWJzGqc4jQHllJfxJ 5UBw== X-Gm-Message-State: AOAM532tIVZ2LlQY3F0FUc8tyCnhA5inGhM047PSovo5lWgpOKzL8rTX 0/64ndNXy5ueIUPrz/cDm52Bhc8zLcejww3zH9nxLtR3PM8pc+LnHyO+WKpYvod89UEEo3KK4w4 6xJwhqfY1aJNlEdEXrQpMcA== X-Received: by 2002:adf:f34a:: with SMTP id e10mr491626wrp.91.1600976215159; Thu, 24 Sep 2020 12:36:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynpHjsvPmbyspQelrDSoXiAKotSicrrWAZZ3D0g/KyVrY5rzQz/w0XAUEKgRr9DXJGglK1Gg== X-Received: by 2002:adf:f34a:: with SMTP id e10mr491615wrp.91.1600976214950; Thu, 24 Sep 2020 12:36:54 -0700 (PDT) Received: from x1.bristot.me (host-87-17-196-109.retail.telecomitalia.it. [87.17.196.109]) by smtp.gmail.com with ESMTPSA id h204sm302746wmf.35.2020.09.24.12.36.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Sep 2020 12:36:54 -0700 (PDT) Subject: Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends To: peterz@infradead.org, Steven Rostedt Cc: Thomas Gleixner , Linus Torvalds , LKML , linux-arch , Paul McKenney , the arch/x86 maintainers , Sebastian Andrzej Siewior , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Will Deacon , Andrew Morton , Linux-MM , Russell King , Linux ARM , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , intel-gfx , dri-devel , Ard Biesheuvel , Herbert Xu , Vineet Gupta , "open list:SYNOPSYS ARC ARCHITECTURE" , Arnd Bergmann , Guo Ren , linux-csky@vger.kernel.org, Michal Simek , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Nick Hu , Greentime Hu , Vincent Chen , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , "David S. Miller" , linux-sparc References: <87mu1lc5mp.fsf@nanos.tec.linutronix.de> <87k0wode9a.fsf@nanos.tec.linutronix.de> <87eemwcpnq.fsf@nanos.tec.linutronix.de> <87a6xjd1dw.fsf@nanos.tec.linutronix.de> <87sgbbaq0y.fsf@nanos.tec.linutronix.de> <20200923084032.GU1362448@hirez.programming.kicks-ass.net> <20200923115251.7cc63a7e@oasis.local.home> <20200924082717.GA1362448@hirez.programming.kicks-ass.net> From: Daniel Bristot de Oliveira Message-ID: <7541acd1-65a0-0d55-4028-71cab544e90d@redhat.com> Date: Thu, 24 Sep 2020 21:36:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200924082717.GA1362448@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-csky@vger.kernel.org On 9/24/20 10:27 AM, peterz@infradead.org wrote: > So my current todo list is: > > - Change RT PULL > - Change DL PULL > - Add migrate_disable() tracer; exactly like preempt/irqoff, except > measuring task-runtime instead of cpu-time. > - Add a mode that measures actual interference. > - Add a traceevent to detect preemption in migrate_disable(). > > > And then I suppose I should twist Daniel's arm to update his model to > include these scenarios and numbers. Challenge accepted :-) -- Daniel