Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp668514yba; Fri, 12 Apr 2019 11:10:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRN2O1W1v3aPjFtZVIVVc4IAJFJzPXkfXKLWlUbhCT+vN72CGgIWX5e6CAgtuTBD+LBBTo X-Received: by 2002:a62:e418:: with SMTP id r24mr58540276pfh.52.1555092657653; Fri, 12 Apr 2019 11:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555092657; cv=none; d=google.com; s=arc-20160816; b=ID94z5iOZNBDkweeqfJJEfn/6U5Q/b2tXdRb6xTKIyc85nBH4SYmWh2Xe4cRbGxAUG CwMLyZQnS6VqDYv+dKp61WdoVFL+fYGoaR3FKngccXOkrIsfAHwD9KQCl/9Pbz4Y8yi3 FlGaawmyqMz9i9EbyJ3Br1j5LHeWzQTgh9jbmRW5OTZjgnCWz8kk0WIMZk2SmfHbkykC dQfHmR7GuGhl3YPuNg/znfiQOxLy2DW3xIJ6ORGBaUiEyVCF0wM3vwWwyvJzT8ULkmS6 F0B2Ab3fKrtmu/hI0vix8ieW2V2CJjWHqeKbOp+87cJT7L4Lk+wTl3lCkeOAIHNjIJ3g 5UhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=HhLcNdhBqcPguTAW0qLxSTBSD9WCe7On19c9LCgp5e4=; b=irpHz/fY48Ze1eQ5fyJwDEKbH2l8lQex4OsInDJs3MaUBPSCRYdKHdIOWYCOIX/ovC YNIYze33Tod6B76qbCeDIeFeTsHUx8EikaP/hHAvy7pl7nyJ+5w7b3elzvVZ+8czL/hc IR46rsIfl8uBNHBYt9npJpHaTF1gFPy8t5cViPmLVpfUuGsmU31vBxWQd+UJPGK/gnoL ir7heZO1+dxuETPyQqlQjBWfnjglDd7rtsOS84AT3k/NIqysqMGfLus46xxotulkTvMn jdaMhfOxNwyPRTmb8YCjgBQ+YPz90obsjQRmAq6MLxxaAJgSChrIPzgTbWK3neKhDUa2 aaTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=P2JCywJY; 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 94si39044899plc.298.2019.04.12.11.10.41; Fri, 12 Apr 2019 11:10:57 -0700 (PDT) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=P2JCywJY; 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 S1726954AbfDLSIq (ORCPT + 99 others); Fri, 12 Apr 2019 14:08:46 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:41111 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbfDLSIp (ORCPT ); Fri, 12 Apr 2019 14:08:45 -0400 Received: by mail-pl1-f196.google.com with SMTP id d1so5490229plj.8; Fri, 12 Apr 2019 11:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HhLcNdhBqcPguTAW0qLxSTBSD9WCe7On19c9LCgp5e4=; b=P2JCywJYIrBBLpq9ocHi/pxi7p1dvfDqJAMnvLQBRx8cLcxKOyAj9b57gpVylNsJAC cHr4nVn3daCJo50ELRKN65K4H2d5NrMkOgR2e8PqDtLqZ6Ht9dm1uNYdd3PH08ay+LZT HU5/xTAuPI4B5dFg1paYjauksnf/6tjZvV/vr3CEBEUrdCsN9l1qsSDfFRLj1Ov/r63Q 9fr13DdEeClT/N4Pr4sCnnco3YMsKE9gDjuJ0l76NoxsDXkMoEvutEmOX6j448j0EzPy chCVUl53+GqrMF/j13qEgOCbkI7tEawgqXB8sLrQZcxV75XYVNv3xoy7BBCiMm0D5osf bZ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HhLcNdhBqcPguTAW0qLxSTBSD9WCe7On19c9LCgp5e4=; b=TE0hbex5i53TlzinynaJwXXrjia7LTMQDDp1YNayk4vUhn/ZFW77Gep2DtN2n/xCbh Zq8tBYOC93iDHQs7+Tm+GaJA6z/WyKL3Nb5AdWC9nAJ6794dyPINMJjCRyFa/B8nnvpj fGaPKdEnpCkTuu8HtLm18TNeqdFFaTmdB0qPkJJD1SJQV8eMMWrdC/fT5EmKIfX4QDtm 2eA3w49N6JezeXIfiOf2vPRUwXk+mjAT17dpw/nOA5wQ1IPVY5Yi7TaPR/vEnq0Nhb77 ELzYMRtfLIJ7iTNfxY2SS4BQSoQ82Xo9t0yIKSjwUJnQ92AbeCUSJTAUmDqX0ngXXFCZ K98g== X-Gm-Message-State: APjAAAXhQp6/CToUJEKZOREhDINOLQdWvyXoSBS2SJduDDeaUEm/JIJG M92vSL/IvqGwi2kKQLepasUVhQyL X-Received: by 2002:a17:902:9884:: with SMTP id s4mr59006013plp.179.1555092524306; Fri, 12 Apr 2019 11:08:44 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id l74sm67744857pfi.174.2019.04.12.11.08.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 11:08:43 -0700 (PDT) Subject: Re: [PATCH 0/5] Fix rhashtable bit-locking for m68k To: NeilBrown , Thomas Graf , Herbert Xu , David Miller Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <155503371949.17793.8266195008003399968.stgit@noble.brown> From: Guenter Roeck Message-ID: Date: Fri, 12 Apr 2019 11:08:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <155503371949.17793.8266195008003399968.stgit@noble.brown> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/11/19 6:52 PM, NeilBrown wrote: > As reported by Guenter Roeck, the new rhashtable bit-locking > doesn't work on m68k as it only requires 2-byte alignment, so BIT(1) > is addresses is not unused. > > We current use BIT(0) to identify a NULLS marker, but that is only > needed in ->next pointers. The bucket head does not need a NULLS > marker, so the lsb there can be used for locking. > > the first 4 patches make some small improvements and re-arrange some > code. The final patch converts to using only BIT(0) for these two > different special purposes. > > I had previously suggested dropping the series until I fix it. Given > that this was fairly easy, I retract that I think it best simply to > add these patches to fix the code. > For the series: Tested-by: Guenter Roeck Tested with the series applied on top of next-20190412, running all 345 qemu tests. No boot failures or new warnings observed. Guenter