From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6DFFF374E for ; Mon, 1 May 2017 16:42:23 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0A76E206C8; Mon, 1 May 2017 10:42:23 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 01 May 2017 10:42:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=RcN2QrvM6xCc+DM RFdwvBt5t3sbuOgKrsanpQqsZxUY=; b=juKV+xr6Zk4h0fCNJAZPEtQgh4cshiq rcaT/qvvW/5/S+Ypz1pJttzXvdKoOCg9U7ZEvwcCZOM/CdMXcOQE0UKE4urO8b8E urnkDNsQ1OZ5HrWgjsAStJrF2fc2Ys+4x6l5kHh+qeZgSmLtKxaRKvoMH11dIi1z notbNh/snkDU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=RcN2QrvM6xCc+DMRFdwvBt5t3sbuOgKrsanpQqsZxUY=; b=P3s3cpTI gdUZrT6Cz5rHm+herS7zPzSF02oRYzoEnZewM1TjTHxxWvFmZQqGr71snU9Sms9T 6QuQLHi8vmUuX3M73NehTUOCFxwzDqyRwirBOs8hjVhGcQFOJsCoRQz7cGvOuRKa I6qjTZnnbyY+44hJxSiXjc90pgConi0OgNSzLJHOs1o6KBfCyey9ORhtPbV0w5UV mS9sVyunLz/rZOznjwLjfhSz5adx4gSujZStoBYFLJEiWYjYjfdF197XdeIrnroI RWeSACGNJDTWE2QJW3iFC8dvL8rsRdrK+qOo8LpyZin+foZ9MWqx+gMnEdBQdTsr GnWfCEdMqG+IYg== X-ME-Sender: X-Sasl-enc: fxAdZq0Zq27ycWc1YsUh+RiwqDimacczRVK8gYO2anPj 1493649742 Received: from xps.localnet (245.114.118.80.rev.sfr.net [80.118.114.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 963DA7E72B; Mon, 1 May 2017 10:42:22 -0400 (EDT) From: Thomas Monjalon To: Remy Horton Cc: dev@dpdk.org, John McNamara Date: Mon, 01 May 2017 16:42:20 +0200 Message-ID: <4500274.9XZdljvTaG@xps> In-Reply-To: <1493296626-28128-1-git-send-email-remy.horton@intel.com> References: <1493296626-28128-1-git-send-email-remy.horton@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1 0/2] l2fwd-keepalive: Termination cleanup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2017 14:42:23 -0000 27/04/2017 14:37, Remy Horton: > The l2fwd-keepalive example has infinite processing loops and as a > result the only way to exit it is via SIGINT/SIGTERM (e.g. Control-C). > The resulting shutdown is unclean, in particular leaving stale shared > host memory handles. This is fixed by adding a signal handler that > causes the processing loops to break, and adding cleanup code to remove > the stale handles. > > Remy Horton (2): > examples/l2fwd-keepalive: add graceful exit > examples/l2fwd-keepalive: add SHM cleanup on exit Applied, thanks