Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1286091rdd; Wed, 10 Jan 2024 14:58:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWwBH7aG9YpS/Ag6Qv2SwJD9Qt2AoFPz1jAc35J81q7h+sMLUUE6/5adVpHrWtBbgkLheE X-Received: by 2002:a17:902:d48b:b0:1d5:5de4:c3f7 with SMTP id c11-20020a170902d48b00b001d55de4c3f7mr288298plg.49.1704927505904; Wed, 10 Jan 2024 14:58:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704927505; cv=pass; d=google.com; s=arc-20160816; b=axXLcxj0v7vfX0957ttO3vU0uPrUQVKXWdpGG+wUGfYXkM9yYehcmWDIB509YpuTFt vNhabh/XT8UZ/8b7a3oey8bO/ZcFIdV1myPkefoqbcnHN29n0f9WilAlqWZcwMWP/56a azm/jOdFKnupCKgB8e6PLUFcuzQWhJ3CfE+pOrdrcxw2JPY2eOJNxHvvLOC+Lj4Yjm49 Cevr1djaLq7yesGcTxGKvIrbjegVb7pokJeE8FsAyQZfrwGNF9oyiQc3JvYUyW+LruCd UVwBRaCuLk5E30vBXbSzSdqyLoYmgJ7OknyWd1Hjn1vMOb18f6NbfQ7dBu0xGlCulYl+ kabw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:date:message-id:dkim-signature; bh=6H8+vu9NSM2kjGHC2iYhz6sKdakOY/+ugugwjKK/pdo=; fh=VF7tDys6Dud8kA+jD6oi2J1plTB2mtX4cE7bjtfL9Bw=; b=VPXqbsJP/3aqVM34GKIeEib7pUaXJmhXg52nt6u+4ut9uJ1cgEeoU44tBDuK7jd3Yh Aw51G6aX7rkhms/dWC628Nl7VCxiUSqtU3Wnyx11ZuHagQpBCePPONywUthPhqkNHa5s 1z3leZ41UnTi/sD422ZWugFkEfSQaB9MeKLKXqko21A1gLRoP6XZg2KQbAopj4OW7VqT j8Hmo1scYTdumeYejAj9RqRLalCPgWRvqA1qqSPPBQ/sBzk7evAFOMl0O3QCOEDazPZ5 Bb/IWuzCNj3GWCgGlHhzvJDpEu+J8vtGJ1nYG+LhLJQy5D6QrmUmQrJEE11pa2a1/7BO VJJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@prevas.dk header.s=selector1 header.b=V8SM1w97; arc=pass (i=1 spf=pass spfdomain=prevas.dk dkim=pass dkdomain=prevas.dk dmarc=pass fromdomain=prevas.dk); spf=pass (google.com: domain of linux-kernel+bounces-22868-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=prevas.dk Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w6-20020a1709027b8600b001d3fc132760si4435655pll.545.2024.01.10.14.58.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 14:58:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22868-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@prevas.dk header.s=selector1 header.b=V8SM1w97; arc=pass (i=1 spf=pass spfdomain=prevas.dk dkim=pass dkdomain=prevas.dk dmarc=pass fromdomain=prevas.dk); spf=pass (google.com: domain of linux-kernel+bounces-22868-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=prevas.dk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B11A92887E3 for ; Wed, 10 Jan 2024 22:58:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5046D4F897; Wed, 10 Jan 2024 22:58:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=prevas.dk header.i=@prevas.dk header.b="V8SM1w97" Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2119.outbound.protection.outlook.com [40.107.8.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CFF34EB41 for ; Wed, 10 Jan 2024 22:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=prevas.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=prevas.dk ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QICvKZw2F8TmENdytGDSsfdGmFQXdgL02pE/tUczwod2VDBW86ogB5bzAQ8vsr2TTor442R8ZaEJXs4zpxctUOIIIpu0UyOHhMcZ/3YKnYmxOjYaN19aX6lp0Mya8xiiSigY3X601cMs8RWy2dF9TuDsmsJb+F1IhllcGr7gk2kOloBEK8z/lkqb3P1S03mkly+5Aoeu0u2Yvd0YPKvJSL8oLirAD2lxKkQ+iOkV8Ie4UlHj5jiGaBi8BRdBuiWhd4zjIs3w8Ihh31LHS89P6jm5JfjgOgHN/qFqmAgZPPsBELwMV37NrbSySJN+EtiiSJIEabWlaYqLPoDV8euoIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6H8+vu9NSM2kjGHC2iYhz6sKdakOY/+ugugwjKK/pdo=; b=XwCJGLidelFN0lvmtbLd/ipJx7AtanWZd92LcsD+dp/c4c1ni1dNFNGvkcDm6QBk+I3Q1RnM+PpEtXc8aOs0VxsNllepbD2S0K9ZJcxjCKxYT5qVF/vj2I+1BRSsKQ/Iy5G+K5cpcz4rvIg2j8duq/V9rG+1kgCtUFIABPIxl7hzeUsAcmI/R8Lj/tdgb6RRaaGYaja08J1vsNYs/VMknd68Xpm/Aa0pN2Wn9V2MNGQr1DHxgTLnk4ZiuuKaViSGtpNfhSdmg0gR2kzZ/BXsO5O5v1j7t65Fz9cJb9IC0zSy+VEvudBzH8ZCmqlAskO7G1HROBeTK60n08F5Hc9nqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6H8+vu9NSM2kjGHC2iYhz6sKdakOY/+ugugwjKK/pdo=; b=V8SM1w97GY/krELDVB2K90gQRYLCVbH0Rtrkz5oT43ZgTZPdHIIiAJhAvp/bQKkgIcLdfkwHMByO20R21n0+9ayOXmMWVuDmeV/Tv7+cctSRc2EXQiVqW6pxnDRYySBanhbqpE359dL1HsThuEEEEH0GD15wQQZCt1TkjM8ehoI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=prevas.dk; Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) by VI1PR10MB7877.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:1bc::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 22:58:10 +0000 Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::f059:23ad:b039:15de]) by DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::f059:23ad:b039:15de%7]) with mapi id 15.20.7159.020; Wed, 10 Jan 2024 22:58:10 +0000 Message-ID: Date: Wed, 10 Jan 2024 23:58:07 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] workqueue.c: Increase workqueue name length Content-Language: en-US, da To: Rafael Aquini Cc: Audra Mitchell , linux-kernel@vger.kernel.org, tj@kernel.org, jiangshanlai@gmail.com, hirokazu.yamauchi.hk@hitachi.com, ddouwsma@redhat.com, loberman@redhat.com, raquini@redhat.com References: <20231215193954.1785069-1-audra@redhat.com> <20240110202959.249296-1-audra@redhat.com> <2f0efed5-f9f3-4a5c-9fd4-a4837cada298@prevas.dk> From: Rasmus Villemoes In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MM0P280CA0026.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:a::25) To DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB7100:EE_|VI1PR10MB7877:EE_ X-MS-Office365-Filtering-Correlation-Id: 72ec3851-1b41-49de-62b3-08dc122f9e01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zm6IGPtOb4uBisuX4ixp7KPONsgvio5SucxJ95XnHpJOohXzULgK0QaT3oD4FJyQ2LduTzPDjg3wJ8BqsBxWMbiCLowqSOFsfFHimGGnkpyxNNqea7rXE2Kn0+vzFTAk2uCeYTBz2FUzOMrOGQVFRiP+4j+v462hd+Dr6Z0qOjHBDaR+UVBY5P4wrSPpabRlDeZLjOR2wI8oCJjPuHNAxGOuUcyRQtlJ351B/M1d1bhF7FCnPqAtPAe5QiyDd9fI2Eut9sxhACOepfhJYZgDVcoTIiKyMi8WJASk/uysaD5cScl0GSgQ15olK/UuGBe93t/YNRFIPdV9nhVWC+Qsk3M9uqNX+N7WOyrYus66LWp3JtWA6O+mZwf7CbmZuJlsbnoZiObiIpfuXDKfHv9zeL2LOGFg/ubW+D4NEKXngnwdKGnz2jFiOA/5AXMAs39i0PYGy5yw7ObNoBWD4MWfiivQtK/lJ7pP7KGEE45mdVPJw14+SeO+plNju4CHYS9qbHDI7Xs/39uSnOT6l/qEIcrduUL4U4Dmund0awyCeYAnbyno+g9u0KtZI2Iaj3JUioou+Ce5LATQr3jtOadJWGk7qugRtGICK+kCB/sp1D8W+6UlyZyrqQrs6d1RTg5Nu4rzRyYNAJz2wXBhKCj8XA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(136003)(39840400004)(396003)(346002)(376002)(366004)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(83380400001)(26005)(6512007)(6506007)(966005)(2616005)(38100700002)(2906002)(8936002)(8976002)(8676002)(44832011)(4326008)(66476007)(6916009)(6486002)(6666004)(66556008)(5660300002)(478600001)(41300700001)(36756003)(316002)(31696002)(66946007)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a1UwZVd4WDN6OGtjaEVCK25OUFpXWmRtQXpaRStPQzBsWWZ4TGxlRTBOc1l1?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TWpLV21NdWg1MFdQNkoxVDFNbUord015L1NNQ2RGZnhoeWNE?= =?utf-8?B?REtxdk92SVgzZ2oxc1lNTzI4eERNSUxmdDgxcm1oMGVjeWtkTXZiUndUMEJx?= =?utf-8?B?WnhCdVc1czZONm9MNkFEcVM3c1J1L0JvUEt5U210bktSa1NQVGQxM3hOREFQ?= =?utf-8?B?R2hkbnhPSkNMMlVLb3NZM1JRRktycFI3L0l1QVNuVkpNSHc1USs4OEI2NG5z?= =?utf-8?B?akltTmdQKy8xN0NWUXdVc0RPSU1UMElBQytBY2ZvSDlCcVVWVUd3eUtQWE9O?= =?utf-8?B?enprVEFZQ3QzUFh0RjJiSGExd3pqM0h3L2xzVjdzVWplTXIxQ3FqQVQzSm1i?= =?utf-8?B?NUE9PQ==?= X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: 72ec3851-1b41-49de-62b3-08dc122f9e01 X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 22:58:10.4513 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ieLYa3BxFPQN2/J4wKnXxVkuqPLFKqb1X6fnT4HjmGrquaqt3oaha0TSbFTvyoYDIq2Om6bhtRKw6zeLpyEtQA7gQobID3FAyr8UDrFd3Ho= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB7877 On 10/01/2024 23.45, Rafael Aquini wrote: > On Wed, Jan 10, 2024 at 05:31:49PM -0500, Rafael Aquini wrote: >> this snippet from PRINTF(3) man page >> >> RETURN VALUE >> Upon successful return, these functions return the number of characters >> printed (excluding the null byte used to end output to strings). >> > > Perhaps the man page should be amended to indicate vsnprintf returns the > number of characters that would have been printed if the buffer size > were unlimited. > > We based the assumption of kernel's vsnprintf behavior out of the > documented POSIX behavior as stated on the man page. That's not at all the "documented POSIX behaviour". There's also no reason to take that from badly (re)worded man pages when the horse's mouth is right here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html (and for vsnprintf, https://pubs.opengroup.org/onlinepubs/9699919799/functions/vfprintf.html , but that explicitly says it's the same as snprintf except for how the varargs are passed). Rasmus