Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2616407pxb; Sun, 17 Oct 2021 20:37:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxalI1WNUhgs6W4TEd+UzBMSfxsC6Hmuzpds9yIR/7Ppg8LSXZkdp6816JyVwilQO4RwfSm X-Received: by 2002:a17:902:b40a:b0:13d:cbcd:2e64 with SMTP id x10-20020a170902b40a00b0013dcbcd2e64mr24926579plr.18.1634528233773; Sun, 17 Oct 2021 20:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528233; cv=none; d=google.com; s=arc-20160816; b=J2vIujtb3XLv/MB3EJ6iiFJrpM1dEpNi3xf78M34rPekXie+786qy39kNSZ6/B0Rbm Pv5pCjGnFek01Q0LRiumYsPUUZR0z/DAOFIxK8OVS5UdAnCNap2vm5y0V6G+q/tOvgrJ 5ItPKYpaiFxoKFTrA4rcXPsSkxE+FxVnkmKf/PynEfxhuJn81O+J2H/k31Zm4bD4E2V1 pXf3nN+bmvopBaJTLs49rOxOPsMgmzPxM7FWot2Wi+ofwV9NLHGo4g0apgCS6EhVnGJq aQgAKYp93uqwP87onZNiskM0t2g+rYH3PDdt/507xu3jPC1/hDp/TXmWVpTPTulHMqwO 9dvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sOYjIwrVZxhUbNWSGTQPnQPa/h8wJ1cvVqLz000cP50=; b=CbB5Lz+Y8EMuPczDs2zB2shyrzeRfjCQmdbwNmfSkR505+DiRssm8td8THj3DZI3YF wcLZJ4A4z79A3XNHW8yNVJDNYu/a7o+sZrlqQXmOryehG6aF1z6Kdz1d+6Ua05Uzdtf8 OxpbxKvzqVSeqPZepHVndgBzX0XpoFLJ5fzVg5EjIhwIHOM6gKwlQzcFrwRte/3stZiV HlFzpkCxNZya/ADsvkrBz9XZ3rGyRQ0INjEPcB8iIWbP+N/uzd9fEKTuMkhRuQn687SA bhg2dxU2EgKUB8IKPsXiMwXhdZ9RtKDv3C80JeQQjZ8yGIq8sVg3Wco5O/hyBmFk/nu4 K3+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=RnZYNq5d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g191si7948588pgc.270.2021.10.17.20.36.58; Sun, 17 Oct 2021 20:37:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=RnZYNq5d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240658AbhJPQYl (ORCPT + 98 others); Sat, 16 Oct 2021 12:24:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230374AbhJPQYj (ORCPT ); Sat, 16 Oct 2021 12:24:39 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D755C061570 for ; Sat, 16 Oct 2021 09:22:31 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id y26so56139367lfa.11 for ; Sat, 16 Oct 2021 09:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sOYjIwrVZxhUbNWSGTQPnQPa/h8wJ1cvVqLz000cP50=; b=RnZYNq5deahqF01JorNo22IZo2i8ysNNiNOa7QuqWi+bPIs1TQECok+eoWk5bxsUFr nG3rC4+Zz9gNN6vy6x8T1639Koh+kjmu4maD7WJMZ7JbO1SyKYRirbyxzpqoc+tkXtus PXV704d2Amol+dm+IepBLYoQ39r9DR9bpVeqQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sOYjIwrVZxhUbNWSGTQPnQPa/h8wJ1cvVqLz000cP50=; b=JzCwy9RCHeOvm3JfAmJTTqCHCc6XQVRPH5HFx26sfXG+goAMhG+UhrApgD7AJlXuUT eCGMR3t3/RO57wKMY9igy+jwrm3FXXdpO1WXLnCcnc1l3eQkaOmiXrthCSGD0xzI3LH/ FiG0AatMZLE/YgCp9BDRTL057qG2r/IemiVfGVN11q6bbW3ts0R0M4YTcBMTSxJqZHGh ceFV3wy5GmJoIKHcFMDcNxSKwkrROa8DOQW9hYj2uZZpxtk39T9FZpCcPLp0G+HFD85B Gn9ME6C2v9NzZR72TYmLo0HOK7Pdabw1dLS8bz27vLZZNn+ayLn/Wy0vlbrLf3uTHREj c9pA== X-Gm-Message-State: AOAM533Iqk0KJdqvpWjoQOvAZOJx1hWOoYI6tOhu/nhVCAAZ/CIPR7BB c3yVhZLh2U0oEp54TquAKGpNhnNGfQsFAG/L X-Received: by 2002:a05:6512:e94:: with SMTP id bi20mr18758739lfb.384.1634401349363; Sat, 16 Oct 2021 09:22:29 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id y16sm966999ljn.74.2021.10.16.09.22.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Oct 2021 09:22:28 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id p16so56165973lfa.2 for ; Sat, 16 Oct 2021 09:22:28 -0700 (PDT) X-Received: by 2002:a2e:934d:: with SMTP id m13mr16917423ljh.191.1634401348513; Sat, 16 Oct 2021 09:22:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Sat, 16 Oct 2021 09:22:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] s390 updates for 5.15-rc6 To: Vasily Gorbik Cc: Heiko Carstens , Christian Borntraeger , Linux Kernel Mailing List , linux-s390 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 16, 2021 at 2:26 AM Vasily Gorbik wrote: > > - Fix broken strrchr implementation. I pulled this, but had to look at this commit just because it struck me as odd. Is the generic strrchr() implementation so bad for s390 that it shows up? It looks like the s390 implementation wants to avoid checking separately against the final NUL character and basically uses the optimized strlen function to do so, but when strrchr has to walk the string _anyway_ this all looks a bit odd. Not a big deal. I just get the feeling that s390 (and probably other architectures) might be a bit too eager to make their own helper string functions for reasons that may be historical ("we didn't have generic string functions at all long ago") or misguided ("we'll do an architecture-optimized version even for things that don't matter"). Linus