Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1827848rdb; Mon, 9 Oct 2023 04:30:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFK414fSkuDG78E2dvJXF5N5OI9WQCl8Eas/IBuWidGYeNU+dYqWu4Tvd0l/7cCfFE0GS9a X-Received: by 2002:a05:6358:4297:b0:135:57d0:d173 with SMTP id s23-20020a056358429700b0013557d0d173mr15893367rwc.20.1696851034531; Mon, 09 Oct 2023 04:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696851034; cv=none; d=google.com; s=arc-20160816; b=cYEjUs2fZqdgtvhQPbDbmNJP1gfI3PJtnNWM2MDDeB8h/7q8oOu9+3uDm9yTQeJhNi 9YgjjoN19JQV5LM3bfLjDbJ8OQOjdOD9w7zXgMNcgbS7Qo7JoZ4fL+hh7eC4u7unuFSv vXcDGFdXMMrUE3nFNXmLJBnVc6Wh7Vseq228PxWrce/LtnUq/8B2VvhLWVtcXIaAWO/i xcZgwB+xQ4yL7A60QMMRoHCTba3qhlZ+GBV0L0wbOSZNwbXp1gXV9f/g6fQRZD+1LWcE vUWFWJkBFR5eqvz8OdUMGvj1ETndBLTi632hoqP5iy3Skz+luFJusu3IVyHU26awx0Ly R02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=1qiw3Fm+DsttdRDdHjyoLLLFxgGYlh5tA6ZRs98v0QE=; fh=t/fGstWDKvgDEyRaoRJS0TDn4BNvU1d3bprOcPI9bhE=; b=ghWRD9c+nww5fYdVU1l70LuljtRGJqeV7zSH3wFag/ZLih/iEHqBHVgd5oxi7pKWte QC3bvuR9NfjhaQWcecFTgFIip8STPnCutWTCC8zTXPD/2Pliam49e+MTE4xa5fBwiVgj SRpdlphDJjD7OwKSSSeDfe2tyUOWciNyDEQ5qmh0zt0CEpPJ47iNmBiqXuaQz4bSiAxd tDqMjwT4q2rNNWTbZFICbrmMuWdLPxbC2wvmzfkXrZjo00GyMYDJMF4Yo9VmN/GEdrfA OdjeqYjy2lpHVHss06rYMGudIL2CPZl7DsMl+rOTxlUcabmbrvpHDKuuwjeBIRca+w0o hcBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j191-20020a638bc8000000b0058986c3dc2fsi7615445pge.117.2023.10.09.04.30.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4BBD080218C7; Mon, 9 Oct 2023 04:30:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbjJILaW convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Oct 2023 07:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234546AbjJILaS (ORCPT ); Mon, 9 Oct 2023 07:30:18 -0400 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 581AF19A for ; Mon, 9 Oct 2023 04:29:52 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-59f82ad1e09so55429897b3.0 for ; Mon, 09 Oct 2023 04:29:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696850991; x=1697455791; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cmxle10UmTm3V9bFVaMw9WXKc8CRfQ8WHVztXUU4bIQ=; b=gASHBJo8dJ2OdkjKRMoyuqUyTvXuTo6j49QAXlhrqaibjTDEP76EwFyczYyaJ+GqRM kqGVhFT4e1+BlmFAjTrLNYCENie8Q8tVXWuINj/zJUwSjK6/lFxSvVBS8EizpURhUA/n 9Smi68d9oi5bS0/vE2XSoI672yMPMfZYFNWP9HsIIzV63oPqAqDNmSS+SaXlW2QVPiCa 7PzM54PaS7kZ6aulUFg6XWR0xEGbalZFceZGOiRoJeusnt75ZcavJ5BU6lygCIdk+9tu fDN+fMkN6hLW7vIgJnGVcbghw70Se38Wvg150Ctfj0PFhcwU8rHelnc2KrBZ/fJvcmVQ 0ksA== X-Gm-Message-State: AOJu0Yw7QPzRZvKjsqCbPosa5rEukwiyIJ172TQzuy6oP/sZonLlgvta I0oyhpy8AGoPOwv7i/c3iIxjlqaQTGeTzA== X-Received: by 2002:a5b:807:0:b0:d81:6e88:7cb3 with SMTP id x7-20020a5b0807000000b00d816e887cb3mr13862644ybp.47.1696850991362; Mon, 09 Oct 2023 04:29:51 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id 127-20020a250885000000b00d7465a90f0csm3036374ybi.22.2023.10.09.04.29.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 04:29:51 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-d89ba259964so4733417276.2 for ; Mon, 09 Oct 2023 04:29:51 -0700 (PDT) X-Received: by 2002:a25:bccd:0:b0:d4b:6a0:fe2b with SMTP id l13-20020a25bccd000000b00d4b06a0fe2bmr14893641ybm.36.1696850990864; Mon, 09 Oct 2023 04:29:50 -0700 (PDT) MIME-Version: 1.0 References: <7858a184cda66e0991fd295c711dfed7e4d1248c.1696603287.git.geert@linux-m68k.org> In-Reply-To: <7858a184cda66e0991fd295c711dfed7e4d1248c.1696603287.git.geert@linux-m68k.org> From: Geert Uytterhoeven Date: Mon, 9 Oct 2023 13:29:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH/RFC] m68k: Add full preempt support To: Greg Ungerer , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Thomas Gleixner , Matthew Wilcox Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 09 Oct 2023 04:30:31 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 6, 2023 at 4:49 PM Geert Uytterhoeven wrote: > Currently, a Preemptible Kernel is only supported on the Coldfire CPU > family. Extend preempt support to the full Classic M68K CPU family > (68020+ with MMU, and 68000-derivatives without MMU). > > Make sure preemption is disabled in loops involving cache and TLB > flushing. > > Signed-off-by: Geert Uytterhoeven > --- > Tested on ARAnyM, using none/voluntary/full preemption. bloat-o-meter summaries for atari_defconfig: PREEMPT_NONE -> PREEMPT_VOLUNTARY: add/remove: 0/0 grow/shrink: 238/30 up/down: 2804/-748 (2056) Total: Before=4478149, After=4480205, chg +0.05% PREEMPT_VOLUNTARY -> PREEMPT: add/remove: 735/277 grow/shrink: 3050/347 up/down: 244359/-11440 (232919) Total: Before=4480205, After=4713124, chg +5.20% Ouch. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds