From: Petr Vorel <pvorel@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] swapon01: swapon01: prevent OOM happening in swap process
Date: Tue, 19 Mar 2024 06:03:57 +0100 [thread overview]
Message-ID: <20240319050357.GA417761@pevik> (raw)
In-Reply-To: <CAEemH2c--aHRW5ZqvBZTP2AVuoiKcY4x6GAxcaMb1KgbXVUEDA@mail.gmail.com>
> On Mon, Mar 18, 2024 at 8:40 PM Wei Gao <wegao@suse.com> wrote:
> > > That's because the available swapfile on your SUT is too small,
> > > you can adjust it (then retest it) by yourself to find a proper size.
> > > This is fine as long as the swapfile size is less than 300MB,
> > > otherwise we need to set .dev_min_size like what we did
> > > for swapoff01.c.
> > > And, on the other side, we can't guarantee the system SwapCached
> > > happened every time, it depends on the system's configuration.
> > 100M is good enough for current system, could you help check following
> > patch?
> Can we rewrite the make_swapfile() API to support passing MB size for
> making the swapfile?
I guess it would be desirable (but keep also possible to pass that 10 blocks,
therefore maybe use flag to distinguish between MB and blocks?).
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-03-19 5:04 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 1:33 [LTP] [PATCH v1] swapon01.c: Apply a margin to avoid oom Wei Gao via ltp
2024-03-14 6:40 ` Li Wang
2024-03-15 1:30 ` Wei Gao via ltp
2024-03-15 3:17 ` Li Wang
2024-03-15 3:44 ` Wei Gao via ltp
2024-03-15 4:09 ` Li Wang
2024-03-15 4:19 ` Li Wang
2024-03-15 5:24 ` Wei Gao via ltp
2024-03-15 5:56 ` Li Wang
2024-03-15 6:24 ` [LTP] [PATCH] swapon01: swapon01: prevent OOM happening in swap process Li Wang
2024-03-15 7:44 ` Wei Gao via ltp
2024-03-15 8:36 ` Li Wang
2024-03-15 10:52 ` Wei Gao via ltp
2024-03-17 9:52 ` Li Wang
2024-03-18 3:20 ` Wei Gao via ltp
2024-03-18 6:32 ` Li Wang
2024-03-18 7:02 ` Wei Gao via ltp
2024-03-18 7:26 ` Li Wang
2024-03-18 12:39 ` Wei Gao via ltp
2024-03-19 3:28 ` Li Wang
2024-03-19 5:03 ` Petr Vorel [this message]
2024-03-19 5:43 ` Li Wang
2024-03-19 5:51 ` Li Wang
2024-03-19 7:29 ` Wei Gao via ltp
2024-03-19 8:18 ` Li Wang
2024-03-19 9:20 ` Wei Gao via ltp
2024-03-19 19:24 ` Petr Vorel
2024-03-19 19:23 ` Petr Vorel
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=20240319050357.GA417761@pevik \
--to=pvorel@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.