Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp650599pxu; Wed, 14 Oct 2020 10:08:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZPQGBk3fyGQHzg+810ipyw58p6DTVqyYgu0xvhu4GfnPtZwrjlPE44w1jvkbVQXuKsAtJ X-Received: by 2002:a17:906:4d10:: with SMTP id r16mr42688eju.68.1602695291382; Wed, 14 Oct 2020 10:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602695291; cv=none; d=google.com; s=arc-20160816; b=buPQHR6oFT7+P43rM+TDEp5n1pHTQiQZK/ZgVW0dsHdYFswkJAJE3lc0L3THqeygYj SWnD70UWEzWeEemcbKyx7rO+4yZ8gYKt2aEHM+9dadSCujL+9ODOiHWJu0eBs4nbmlbj VWJomRBblnSODwqGqYz31K8GIguBYInmG2pkMv6JXxNvTMJ+xlAjF2BS3qLIQNcMKbkR 9grc1BsdfDNpgQh8RyYTTqMdtCCFNM61NVeiNL/aFaJKHs9BDcUGhDaiJWNZzxL35IFn Sj4DP7vXeFLiFjSjfg55WR9HRo+/L6HX+NXxih/fKJSloGGJQSd8JJ7MIqVNx+7q/lah Rn1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=AC8HS2z8T98nEugT5efb+X+wCmYYZ6+WNEVgjuczYIg=; b=LgU0EqKLyr/+rlK7JCUc5NpSKD8pBFJ74wPg02hQgyKyK2pLZhAZS5L+x0ku96pUr9 PFYcq9iVpdoiZMOxvwY3shngm8W2iP083gO+1KV7oAWDrnK0c/SSGSfs8UwSe3qq11Cj 901XWZgqivKKvaH+lnErnOZXNIqEQj9x9JNwPsZVPwLdXtBHX6Vs90fAvAnOJ6CzEpxk pjhv8vWAJg/pnWhHROGojcmuym7A664vQf1uisibsLdFxRtWxaaVoRge3JUVZgySo49M K8vuZ0bXDbMunghe9wCHGPVHs086BxfQ62S487bIy9hV1D1z2vY03FKkX4IYMQy95xys mkdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si68944edv.101.2020.10.14.10.07.43; Wed, 14 Oct 2020 10:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389006AbgJNOQq (ORCPT + 99 others); Wed, 14 Oct 2020 10:16:46 -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-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