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.8 required=3.0 tests=BAYES_00, 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 2B58AC433DF for ; Wed, 14 Oct 2020 14:16:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D116D22227 for ; Wed, 14 Oct 2020 14:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389021AbgJNOQr (ORCPT ); Wed, 14 Oct 2020 10:16:47 -0400 Received: from mail-oo1-f67.google.com ([209.85.161.67]:36867 "EHLO mail-oo1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731507AbgJNOQm (ORCPT ); Wed, 14 Oct 2020 10:16:42 -0400 Received: by mail-oo1-f67.google.com with SMTP id f19so823130oot.4 for ; Wed, 14 Oct 2020 07:16:40 -0700 (PDT) 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=AC8HS2z8T98nEugT5efb+X+wCmYYZ6+WNEVgjuczYIg=; b=kjABU/YpboSTW8mXbk/SRBNX8vsrN4xh/GVsd0KhbiO0IEY3uYGlKb2c/T6Zy3aRip Z9LMRawccDQ8eo2wbSFsiWFmH4j89wQg+nB4Ej4r40Z3jsFvvmvsO5rb05p9yrjLB8Fe HKipvjkoFhVVmr1zyUmed8FC6Hdpk2XU4/OlX9ZOIOTJ6pT6KtiLgJ+P7q+eh7WRpdoC 863FCqH2KJ0e/KC96gPvqBOIKnEohe1LCgVsMLw5qYNFglACYFllpXcaT8a3CsJP2c1g jONksyrnQH5FmZU+otOh0Po2ATDlL6xhHc/KSfzXKU3saVqhpIx2Kt/cXOgboj3mDj6q D49w== X-Gm-Message-State: AOAM532uWlIMObzWVU6xxEUKxu48pLfHBjn1/3+pcnyIAawuv74Tpu0w z5HwcylS1yGR9Z7RRle1Q9HK284F1T28nqN8jnk= X-Google-Smtp-Source: ABdhPJzR9vzQaAGQ+U5oIafEX82tCF9xHeYF2/XGwS+mhL2wLyjwukN1MdBepRIU33FiyJ+GPi7iQKhQvqj8O0AwADM= X-Received: by 2002:a4a:dbd3:: with SMTP id t19mr3724339oou.40.1602685000238; Wed, 14 Oct 2020 07:16:40 -0700 (PDT) MIME-Version: 1.0 References: <20201012144916.GB10602@alley> In-Reply-To: <20201012144916.GB10602@alley> From: Geert Uytterhoeven Date: Wed, 14 Oct 2020 16:16:29 +0200 Message-ID: Subject: Re: [GIT PULL] printk for 5.10 (includes lockless ringbuffer) To: Petr Mladek Cc: Linus Torvalds , Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Rasmus Villemoes , Peter Zijlstra , Linux Kernel Mailing List , Daniel Thompson Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Petr, On Mon, Oct 12, 2020 at 4:50 PM Petr Mladek wrote: > - Fully lockless ringbuffer implementation, including the support for > continuous lines. It will allow to store and read messages in any > situation wihtout the risk of deadlocks and without the need > of temporary per-CPU buffers. linux-m68k-atari_defconfig$ bloat-o-meter vmlinux.old vmlinux.lockless_ringbuffer add/remove: 39/16 grow/shrink: 9/15 up/down: 214075/-4362 (209713) Function old new delta _printk_rb_static_infos - 180224 +180224 _printk_rb_static_descs - 24576 +24576 [...] Seriously?!? Or am I being misled by the tools? linux-m68k-atari_defconfig$ size vmlinux.old vmlinux.lockless_ringbuffer text data bss dec hex filename 3559108 941716 177772 4678596 4763c4 vmlinux.old 3563922 1152496 175276 4891694 4aa42e vmlinux.lockless_ringbuffer Apparently not... 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