mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH 1/2] console: scale number of log messages with available RAM
Date: Fri, 08 Mar 2024 08:02:19 +0100	[thread overview]
Message-ID: <170988133976.1569607.4810809105309302063.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240306184519.626594-1-a.fatoum@pengutronix.de>


On Wed, 06 Mar 2024 19:45:18 +0100, Ahmad Fatoum wrote:
> The default value of 1000 messages is too small with
> CONFIG_COMPILE_LOGLEVEL=7, because the many driver debug messages
> will evict any earlier error or warning messages that have been
> in the log.
> 
> Assuming a log record size of 128 bytes, 1000 messages translates to
> 128kB, which has quite a bit of breathing room. Let's instead scale the
> maximum with the available memory: one message per 32KiB of malloc area.
> 
> [...]

Applied, thanks!

[1/2] console: scale number of log messages with available RAM
      https://git.pengutronix.de/cgit/barebox/commit/?id=2c04db069871 (link may not be stable)
[2/2] commands: dmesg: support aborting dmesg output with ctrl-c
      https://git.pengutronix.de/cgit/barebox/commit/?id=9eb0055d0ae9 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2024-03-08  7:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 18:45 Ahmad Fatoum
2024-03-06 18:45 ` [PATCH 2/2] commands: dmesg: support aborting dmesg output with ctrl-c Ahmad Fatoum
2024-03-08  7:02 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170988133976.1569607.4810809105309302063.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox