From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 05ED7A0528; Sat, 11 Jul 2020 15:47:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D57BA1D954; Sat, 11 Jul 2020 15:47:30 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id AA19E1D654 for ; Sat, 11 Jul 2020 15:47:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594475248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QSq7N+bNbcQIY47nSxim+oD27vwITZoqVUArhX8C36w=; b=OyCKywqW/hwIY+vICRJ800TM/WS3/r1C+bVHrvQm/NnyDcXKeY/L3qxnHxEZjns+/mHpDj fHk3MDQgdDv060K6ydFb0fRoX7E3x86grZ/i37ZSsIFf5rc+w0q8XDi9yr/IV4qyi4yzgk IE+Nr8vrg8MO580X+tWnOonms7dPtQE= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-122-XLXry2oXMHerylCGyRnnJA-1; Sat, 11 Jul 2020 09:47:26 -0400 X-MC-Unique: XLXry2oXMHerylCGyRnnJA-1 Received: by mail-ua1-f72.google.com with SMTP id q3so3888364uas.12 for ; Sat, 11 Jul 2020 06:47:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QSq7N+bNbcQIY47nSxim+oD27vwITZoqVUArhX8C36w=; b=AkBr3FRDu9oJ2UkD2uyHydWhU2G1nPNAwvSqr5EQ9mWIi2pQPamOW//0PEANn576vj C6cbMdtw14hAkPQMqRIW1Yr4jsS9NNOlvnCbVq4WFytXXsvscQ7Acr2CpbSnK3pPZQnL c1nyRViMEkxNGBYreDJtZJjXVtihykfphLEMW0Fg1mBdf5hgyu/GTLFgEcQfbz215Fid jZT/6PQk3ToHjwZZ4EB2JlPgFqCVYxmn6XjD0jul4MH+Sik+cZqhREJD5H/WIC8HRlUc AGwmfPvB0Z3rgpFe4cyN/wewUi/T0lqyFtQpgBrIOn7M7jmPHHXs/681NtvxnhxOpkKB /WBQ== X-Gm-Message-State: AOAM531ampeHjkPcrweGICZ8wbEgihYQhBaFDU/DgzxG3GKb8jxtUqvD 3J+FY2DgoaM4tYVeUzhuli71ZIJeeX5RiXO1h3uOWmbfFHT4wMD6HxXHu1ES0etJ5tNZVp7xfmF XtSbJOpT4KRwaSHqziOA= X-Received: by 2002:a1f:2409:: with SMTP id k9mr26201940vkk.80.1594475246151; Sat, 11 Jul 2020 06:47:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGbR92tPdhVih83+saMoeFnC4tlsdR5pSywedIIcptWb8HU3Q9apXIwLcoIcb6F9a5xZ8q2aKGj/U2th9gdHc= X-Received: by 2002:a1f:2409:: with SMTP id k9mr26201932vkk.80.1594475245959; Sat, 11 Jul 2020 06:47:25 -0700 (PDT) MIME-Version: 1.0 References: <20200710094551.3716-1-david.marchand@redhat.com> <3387414.ACgpzotbJP@thomas> In-Reply-To: <3387414.ACgpzotbJP@thomas> From: David Marchand Date: Sat, 11 Jul 2020 15:47:14 +0200 Message-ID: To: David Marchand Cc: dev , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] eal/linux: truncate thread name 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 10, 2020 at 2:41 PM Thomas Monjalon wrote: > 10/07/2020 11:45, David Marchand: > > pthread_setname_np refuses names larger than 16 bytes (\0 included). > > Rather than return an error, truncate the name to this limit in the > > rte_thread_setname helper. > Acked-by: Thomas Monjalon Applied. -- David Marchand