Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp72360yba; Fri, 12 Apr 2019 17:37:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzshk4XowQZPVNIoGsFbj4Q8oo2oKdbzny8jFz1pAcZj29aDJwKEnRSuT93ZUGpTI9lZ0oz X-Received: by 2002:a65:448b:: with SMTP id l11mr56400359pgq.185.1555115830905; Fri, 12 Apr 2019 17:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555115830; cv=none; d=google.com; s=arc-20160816; b=dbCXUD2zL75xG+phbzkR56W2njIsg3ETWlvn8RpCDL6u01KrCopWQ2B7h+YZj4HpDm trMQWaufWaTrb0SXlB0aqxPvU/JueBy1X/EUg0hYGiLb0BK7JCfGzYYMcyONUNWlKMXl aq5mAaBvT4U6HJaPp5g7sC2+iErNf6f/trUALPxwWP5u0i9JNhYLHgT93aD1ZqIN+FAO 84lO3EIEOUjL+Q4aGiVhtVtVtsE5Pjo5xKdxGFqBJIBoBx1l5XsgBgrAhVKBNYwRP2gX uFLWJkJdOejXoyUA2apqF5/bxqDSzsQio64St2UVEyYNX8osxvT5HzPQlT8g+jWD0Xyb gc8g== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=Udpgut7wSWTMn99l+Cr01pyIjXjwE49M0f2iEAuqq9o=; b=vifKV5jHWWO1H2EOwwmxRMXVO10HvIHTB+vbz3x/TBZbebF0OqiznkhTEvL814JwQB SHaO+3BcREs4NzRJNrfNYGy5BNICXdGlhv/bdwKyiPlSQnKf6g40IF0HgA6JJvXxxKq7 96iGL2pGPFjyh57ncRszHqOioz5UA7vIcnCoqoodsh6P8vGxHoFkVALWjvyfhltJa+Fr U692HKpFsSKI3hYIPApot+XawCkZzeSb0jPJ9eVm1M990kL0JPMpVDMH+Mdl9ema/U0s HIvGrs+FHbo8CeU83pprPjJooDqGzfyKA9g2jSl61nkWO6wj2SR/8kgG2mjLJnDg339j FqnQ== 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 60si40400476plf.122.2019.04.12.17.36.54; Fri, 12 Apr 2019 17:37:10 -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; 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 S1727050AbfDMAe7 (ORCPT + 99 others); Fri, 12 Apr 2019 20:34:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:51234 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbfDMAe7 (ORCPT ); Fri, 12 Apr 2019 20:34:59 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B947B140F4ED0; Fri, 12 Apr 2019 17:34:58 -0700 (PDT) Date: Fri, 12 Apr 2019 17:34:58 -0700 (PDT) Message-Id: <20190412.173458.2194302001630174696.davem@davemloft.net> To: linux@roeck-us.net Cc: neilb@suse.com, tgraf@suug.ch, herbert@gondor.apana.org.au, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] Fix rhashtable bit-locking for m68k From: David Miller In-Reply-To: References: <155503371949.17793.8266195008003399968.stgit@noble.brown> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 12 Apr 2019 17:34:59 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck Date: Fri, 12 Apr 2019 11:08:41 -0700 > 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 Series applied.