Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1695821imj; Thu, 14 Feb 2019 10:27:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IaosIfyIFg4v/6a7XMRMGSp/YvwekHr9jkT43aSoEflcBoHSMkO5cdNZGNFw1XBHQUGkn9V X-Received: by 2002:a62:4641:: with SMTP id t62mr5369544pfa.141.1550168854527; Thu, 14 Feb 2019 10:27:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550168854; cv=none; d=google.com; s=arc-20160816; b=U6j71Qot6BIkw1EXcKfvZ9opR6i5hodLvakziBetYSi+1If0Ro9dzTA/74Pf4PwOkd AsEq3Gz8S0wR6VgmPgka3oABgrllukL1aUWTWsmMxLvj6uudVMPgPqT6dQuQSI1raLRT xWavFP1z5/zFgUbMXBtxm9VTJTLkARdxrSD0UPht18GYXMdKWFBK6maaJDjfUjuQPHMa lT0DbQ+o9Ah3167IFaw7cyielc0bxE3R6dUKH7vXzEi2ZI7NGmDa6cleYIkIIbwONIIz YZVPTAsrZSUYIVbatDN9pum5RqR66OfdORAl+SfAGv6zxUzqbM3claF8JzRvpbQxlT83 CTEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=a64e/Frl3TS8foASPDEwpnLzkU/nFm2nnLXf1OkqgoM=; b=YxOKGC7mwYfkrBI9eXpmtmvpclKslSw/Fw9dvSt2UGQQ7gv+6Om6Iv07J6S1xUqedu F6xE3p91UBvoPrZh6jB5udeADo8z9g6lQhJ2ChkMCX7RuGMtaTqFEY3YhYss006s23Vn E11+lF4q0CF5j85V7TXPhIYjYXjoV9qm9KU0+/cfAy5UjttJYMunE+n2848eCSyEjTyV mTKYyfTiYA0jI4ZCbHjs83w09mnZk+CGE4vLGJHsFvM28UA0cqHdT+giCnrNwUKzzBuY fu2EBAYyBF5rCu/g5WLBsbMyaLOVZhJwZjhL6P6lNSJB2nAwzSc8IRygmfydKe24eQV4 1bRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si3036057plt.342.2019.02.14.10.27.18; Thu, 14 Feb 2019 10:27:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406767AbfBNKwx (ORCPT + 99 others); Thu, 14 Feb 2019 05:52:53 -0500 Received: from mail-vk1-f196.google.com ([209.85.221.196]:35289 "EHLO mail-vk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729852AbfBNKwx (ORCPT ); Thu, 14 Feb 2019 05:52:53 -0500 Received: by mail-vk1-f196.google.com with SMTP id l136so1288104vke.2; Thu, 14 Feb 2019 02:52:52 -0800 (PST) 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=a64e/Frl3TS8foASPDEwpnLzkU/nFm2nnLXf1OkqgoM=; b=BjU0Xx+EjUfurjAaTGa/A88HnSvGqt0xS8qIemZ403X4lJvcU+tRd02jtTnaVQXmtw 0Zor+4+XE0V1j+42Cp+5LnEa0nPJKfXZ1mPfUPEn9RrKWsC/Y8BpaRvzKMhSTXRF8tFL RvMsgkodVstpuyPT1q7Gi47dAkGzhS4ZijAPdH/vrgTh7kC6y4k+CkptKBTrOMvo86S+ kY+nXbTsn6tdExvuNvwhbMJMs7ck09NJx43Z6Fb8p8E82PM9vAS77XurGpq0lwy6O88P 7oIEj/Su85Yw2fgWkUUdUAyjoVorCg0HwPAWtHRJHlPX+h4wlvjYCgO7QB0nPF7FFhCF 1xjA== X-Gm-Message-State: AHQUAuYMdc164lX7Y36bRrtCqgt1n1NESC3RrEVy7w7VHX2jkHG3BdO2 R7t1CmitHf5E1hA/WoNLY4Z+LZUckhz4bCtJiIs= X-Received: by 2002:a1f:8e49:: with SMTP id q70mr1653639vkd.40.1550141571959; Thu, 14 Feb 2019 02:52:51 -0800 (PST) MIME-Version: 1.0 References: <20190213174005.28785-1-hch@lst.de> <20190213174005.28785-4-hch@lst.de> In-Reply-To: <20190213174005.28785-4-hch@lst.de> From: Geert Uytterhoeven Date: Thu, 14 Feb 2019 11:52:38 +0100 Message-ID: Subject: Re: [PATCH 03/11] kernel/locks: consolidate RWSEM_GENERIC_* options To: Christoph Hellwig , Waiman Long Cc: Masahiro Yamada , linux-kbuild , linuxppc-dev , linux-riscv@lists.infradead.org, linux-s390 , linux-xtensa@linux-xtensa.org, Linux Kernel Mailing List , Linux-Arch Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 12:08 AM Christoph Hellwig wrote: > Introduce one central definition of RWSEM_XCHGADD_ALGORITHM and > RWSEM_GENERIC_SPINLOCK in kernel/Kconfig.locks and let architectures > select RWSEM_XCHGADD_ALGORITHM if they want it, otherwise default to > the spinlock version. > > Signed-off-by: Christoph Hellwig Note that this conflicts with "[PATCH v4 2/3] locking/rwsem: Remove rwsem-spinlock.c & use rwsem-xadd.c for all archs" https://lore.kernel.org/lkml/1550095217-12047-3-git-send-email-longman@redhat.com/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds