From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C283B43C12; Thu, 7 Mar 2024 18:08:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F9CD410D5; Thu, 7 Mar 2024 18:08:38 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 71B5E4067E for ; Thu, 7 Mar 2024 18:08:36 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e55b33ad14so720413b3a.1 for ; Thu, 07 Mar 2024 09:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709831315; x=1710436115; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=/JJr43yZsv45w9R1fWQAEKKXgk5/tJOIJ3FReyKbWYE=; b=b1itVIFV0+6heG0aWhRIaTiGosjnAiJOYaw5c9hHunCVr9icb7d3lgoRt67pdIFWQH Y+lKMxIe3xdS4et1bUHqRuAQFcDBoUsR0AND21k7U4nItyw2D6Y67kUpZ0Y5xkdQGi/q rzgfutueZN0RTbFqr2j3FWZr9VAyUpFnnbYByyL1RziPNYOQYKxZ/9n/J9VLCZGkcfsO OqLeYrT9eLZtvcs9Ycs3KQtyt0VDmvrh6HxWtFZPr+9RPHu6fXpDgznpKbkoRv6ZkIvt BU4Qjg8NeqeUILyzEI8xcW7hQd/mjxVFjJON0H9jTgQYQyTQeBVAPNRZyBz/CJltxbos /REQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709831315; x=1710436115; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/JJr43yZsv45w9R1fWQAEKKXgk5/tJOIJ3FReyKbWYE=; b=n7m0oNNwxbnLtBULBseOKE6h6DsMsA6/dZJteYDd98OOOOfU34fAOFkM9Mi6Kmn9Lr hMGmvrnP5yYmdPvyvmTh5dFDlRzmUPBIxc1z/QTDoGdnf9IBtmVkA6h3g8kTrj2x8HX0 3VXiO44oZMHaDjS1MI8WzbogHe3z3mY0ycqdj00K02PaE36t67qEbYxWxkpWZcv4CyMB 5KDlutj+iOXOD/9MqNhrqDFOEdOS4FXTRqJwKcfJNkVQAzpxG67jDIp9AaX2kzOtldll UvoOoJgsxtrcT9GrCquCm+uTzy//P+klR2kKmmYvjo8t/f/1ERXkSMkg50zkit3oGksz aAGQ== X-Gm-Message-State: AOJu0YzA4nx/QcHQz8R6ycsoU4auxFuJeOu5MDOZkI/+0Y76dJtEbWsq B/Uv5at9SD4jvUUwWDwMsmuvthD2tuwRLH00oxg5AirplksMYd96WQlsEvwzBZA= X-Google-Smtp-Source: AGHT+IHC0ZQ/CpB90iNp2L2/Jxggu2w+UvzPLEq13GQgNwtVTV1quKkhq3Qy0uJarSSq9gdLCmCTfg== X-Received: by 2002:a05:6a20:728d:b0:1a1:6f4f:25e2 with SMTP id o13-20020a056a20728d00b001a16f4f25e2mr3474238pzk.49.1709831315524; Thu, 07 Mar 2024 09:08:35 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id b8-20020a056a000cc800b006e657a975ebsm1781666pfv.1.2024.03.07.09.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 09:08:35 -0800 (PST) Date: Thu, 7 Mar 2024 09:08:33 -0800 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, bluca@debian.org Subject: Re: [PATCH v2] test/lcores: reduce cpu consumption Message-ID: <20240307090833.10d3705c@hermes.local> In-Reply-To: <20240307141608.1450695-1-david.marchand@redhat.com> References: <20240307113324.845309-1-david.marchand@redhat.com> <20240307141608.1450695-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 7 Mar 2024 15:16:06 +0100 David Marchand wrote: > +#ifndef _POSIX_PRIORITY_SCHEDULING > +/* sched_yield(2): > + * POSIX systems on which sched_yield() is available define _POSIX_PRIO= R=E2=80=90 > + * ITY_SCHEDULING in . > + */ > +#define sched_yield() > +#endif Could you fix the awkward line break in that comment before merging :-)