All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Anatoly Burakov <anatoly.burakov@intel.com>
Subject: Re: [PATCH] Revert "examples/symmetric_mp: do not print or exit in handler"
Date: Tue, 27 Oct 2026 09:10:54 -0700	[thread overview]
Message-ID: <20261027091054.0f902c3a@phoenix.local> (raw)
In-Reply-To: <20261027150748.1170031-1-stephen@networkplumber.org>

On Tue, 27 Oct 2026 08:07:48 -0700
Stephen Hemminger <stephen@networkplumber.org> wrote:

> +/*
> + * Signal handler configured for SIGTERM and SIGINT to print stats on exit
> + *
> + * This is not safe way to exit for a real production application; it is just an example.
> + * Doing proper shutdown with primary/secondary requires process monitoring
> + * and rendezvous.
> + */
>  static void
> -print_stats(void)
> +print_stats(int signum)
>  {

Needs fix to add __rte_unused here.

  reply	other threads:[~2026-10-27 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 15:07 [PATCH] Revert "examples/symmetric_mp: do not print or exit in handler" Stephen Hemminger
2026-10-27 16:10 ` Stephen Hemminger [this message]
2026-10-27 20:23 ` [PATCH v2] " Stephen Hemminger
2026-10-27 20:28 ` [PATCH v3] " Stephen Hemminger

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=20261027091054.0f902c3a@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.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 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.