All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] readahead02: Sleep 1.5 msec to fix problem on bare metal
Date: Mon, 24 Nov 2025 14:18:19 +0100	[thread overview]
Message-ID: <aSRbG5o-lTPtG7wB@yuki.lan> (raw)
In-Reply-To: <CAEemH2fN=byf4dKvCk82KKuA9fRk0M6uh1GmMfiY2EPOk=X_Zg@mail.gmail.com>

Hi!
> This is a nice improvement, but one thing comes to my mind that
> get_cached_size() reads the system wide “Cached” size from
> '/proc/meminfo' might not be reliable in the test (probbaly impact
> from other progress).
> 
> So, how about using mincore() works on the currently mapped pages
> to count the resident bytes in memory?

I guess that we can do that in a subsequent patch. I've just sent
slightly modified version of this patch.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-11-24 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-20 16:35 [LTP] [PATCH 1/1] readahead02: Sleep 1.5 msec to fix problem on bare metal Petr Vorel
2025-11-21 10:41 ` Cyril Hrubis
2025-11-21 10:45   ` Petr Vorel
2025-11-21 11:42     ` Cyril Hrubis
2025-11-21 11:48       ` Cyril Hrubis
2025-11-24  9:14       ` Jan Stancek via ltp
2025-11-24  9:18         ` Cyril Hrubis
2025-11-24  9:20           ` Petr Vorel
2025-11-24  9:20           ` Jan Stancek via ltp
2025-11-24 12:58       ` Li Wang via ltp
2025-11-24 13:18         ` Cyril Hrubis [this message]
2025-11-24 13:20           ` Li Wang via ltp

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=aSRbG5o-lTPtG7wB@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=liwang@redhat.com \
    --cc=ltp@lists.linux.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.