Received: by 10.223.164.202 with SMTP id h10csp695262wrb; Thu, 30 Nov 2017 06:02:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMbzF10Eow/YYCi2sGpDE0ebH5Udob8T7oOM7/2YwpfyJ3Pwolp+yAsXJwg8NIj//XjEScGz X-Received: by 10.84.218.204 with SMTP id g12mr2721677plm.213.1512050573945; Thu, 30 Nov 2017 06:02:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512050573; cv=none; d=google.com; s=arc-20160816; b=ub/ywp6gudRA5ZZTzwjsS2lA2hrQSqa25erJePkg4boUhA1f6vwkUtY8QU2WXPcuh1 McKwmXKEXO+FC6NziZvVmLLezgTUDBf8jVoKmh0SFjKUsTOUinNN3Gi5VkfKRfGQv936 ZROSgJxFDXaFKIoL3W4tUMAWWcgJOhtd+MMSVWvO08i79QJd+aMvthj/S0ClCiNyZ0a7 cxTPRFuzdIdhz/Q6P83DaxcOOPXlkVuE2jWgnVSUXNy1VI26D/ucclnPsu8xLpTWmgoS udvlEkxqMvBsIzbAAmD7KME9280Dyt7B6flPRuhlopVTY1xSFomFakHRvnbSFujRZJYy LrTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=r1F/d/8LBM4M4Ulbsqwd9PuG9V3h8orp21d9ouhOJec=; b=LM4A/NuxVjQXhJWHaY4WXNdrOIQqL+TEQomPkyzccpqBE/S5l9NrSD8D9DVEklhZS7 gKUdwn58aJ+S3MUtuOLgxbNNqKbc39hDA6wlG23IQjNYhcHMMa4gl7pFZROrZEzYdQfu F5z2kLH8MuWEiyggD5CJWEJHQxsQNa6jtywlmah+B7RXLzeL/LB0tdX4R2Eq4JTo4VTe g+K8d1BfTj7ty+5eOLbbre/wzsrGr+OejAHfAeboaHQdQi9ghAkHx8hhe05oXdEh3R9P 9xKg/CZc4nNUlcBj6A+Maomei/wkLEPS2w8+hb5eFrBv74LbQ5Do9TMHhZzrKXalYOfO gUAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iVvV0pnO; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si2991644pgr.714.2017.11.30.06.02.37; Thu, 30 Nov 2017 06:02:53 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=iVvV0pnO; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752665AbdK3OBW (ORCPT + 99 others); Thu, 30 Nov 2017 09:01:22 -0500 Received: from mail-wr0-f169.google.com ([209.85.128.169]:33828 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752013AbdK3OBV (ORCPT ); Thu, 30 Nov 2017 09:01:21 -0500 Received: by mail-wr0-f169.google.com with SMTP id y21so6681253wrc.1 for ; Thu, 30 Nov 2017 06:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r1F/d/8LBM4M4Ulbsqwd9PuG9V3h8orp21d9ouhOJec=; b=iVvV0pnOwrmehH7xBB4jMClej88bzP8eBl+aUPaqdSa+EmTmpERov0Y64Q/z/ylFbX RwzRX452P5yo0t56dGUsNIgBZtqM9Mby3MSBgbiSGmZoydefhzpHwKA4mfcmiPRei9Or wzohPCJ8YVa8QCK17BbcLyqrFrCJgtHfqC7Sn/8QhhbePpPM4Znu8wMNv7kBQM//KrMq Ky4AAhfwG1gko441cEap92c6Btv2hdon8ftAzSN+Pv9rQQptiCQCJydx7phcS7zdWF0N WqoaEdeQH81yJ6jrzbEm2It9/AfsVwSdl4a7zGxE9Lu3xwdvUH9wbezbloAf7oDMwz4O tZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=r1F/d/8LBM4M4Ulbsqwd9PuG9V3h8orp21d9ouhOJec=; b=hjbjkhpZafT8Qd6URNs/9xM47yGlYewjMQdVIo9kjRSM15QBfgZHdJN4zUQJ4acdsQ cCTQVgOewdufm9dCd6+watkMBRsgBsOmp1FZgKhTye1DrTDTCgt54/sKzxON8hR2gg4G ZJGzSE33+OQw+xhVdNFwHJIiyw2Jef1+Aikab7kOcgziiB3MQ4MX0GGS27+8rfBk+D7U 7YAtCW9U0hALa0kuoUiJnuDVRFU0K6/KBBvPrTyQnjVIAHSr5ua9OnpBaGJy+SsFtf8W oRR8je80q5+nAp5Dufwn1DZU5/U0tgZuew3EabE4s6TGa2LGFPygH1oi7MbPYyLd3/aO a9qw== X-Gm-Message-State: AJaThX4GrPs5Xcva4tPvEdGkbshw8LKeWC7JEBffiM7RxxyiOgTqwsDR /02duj2jCt1IE7gFvObMVl1lHFkndsM= X-Received: by 10.223.147.135 with SMTP id 7mr2173083wrp.237.1512050479802; Thu, 30 Nov 2017 06:01:19 -0800 (PST) Received: from courbet.par.corp.google.com ([2620:0:1053:11:37d6:275f:5e30:4f99]) by smtp.gmail.com with ESMTPSA id 25sm3187246wrv.8.2017.11.30.06.01.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 06:01:19 -0800 (PST) From: Clement Courbet To: Yury Norov Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: [PATCH v5] lib: optimize cpumask_next_and() Date: Thu, 30 Nov 2017 15:00:53 +0100 Message-Id: <20171130140053.28973-1-courbet@google.com> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog In-Reply-To: <20171130062140.vhidjktddah55q3k@yury-thinkpad> References: <20171130062140.vhidjktddah55q3k@yury-thinkpad> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > So I think it really worth to be separated patch. Really, it's > completely nontrivial why adding new function in lib/find_bit.c > requires including asm-generic/bitops/find.h in arm and uncore32 > asm/bitops.h headers (bug?). And why doing that makes you guard > find_first_bit and find_first_zero_bit (another bug?). OK, I'll send a separate patch for this. > Linux-next is your choice. > [...] > Again. test_find_next_and_bit is trimmed, but it is still based on > get_cycles and uses tabs in printf(). Please fix it. OK, I'll send a version of the patch rebased against linux-next. From 1585471006708993041@xxx Thu Nov 30 06:22:58 +0000 2017 X-GM-THRID: 1585315848060842943 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread