All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/3] ipc/semget05: Set dynamic run time
Date: Fri, 5 May 2023 18:24:10 +0200	[thread overview]
Message-ID: <20230505162410.GC24118@pevik> (raw)
In-Reply-To: <20230505145626.2537-2-mdoucha@suse.cz>

Hi Martin,

> The semget() syscall can be slow on some archs so too high default
> system limit may cause timeouts. Set dynamic run time based on
> semaphore limit.

> I've originally tried to create an IPC namespace and set low custom limit
> but IPC namespaces don't allow unprivileged users to reconfigure them
> like the network namespaces do. This is the second best solution.

IMHO good enough.
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

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

  reply	other threads:[~2023-05-05 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05 14:56 [LTP] [PATCH 1/3] ipc/semget05: Fix .save_restore flags Martin Doucha
2023-05-05 14:56 ` [LTP] [PATCH 2/3] ipc/semget05: Set dynamic run time Martin Doucha
2023-05-05 16:24   ` Petr Vorel [this message]
2023-05-05 14:56 ` [LTP] [PATCH 3/3] doc: Fix typo in max_runtime docs Martin Doucha
2023-05-05 16:18   ` Petr Vorel
2023-05-08  1:31     ` Yang Xu (Fujitsu)
2023-05-05 16:20 ` [LTP] [PATCH 1/3] ipc/semget05: Fix .save_restore flags 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=20230505162410.GC24118@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /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.