Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1221710ybm; Sat, 30 May 2020 02:23:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPW1SmfHPwTywYWQEXJd89t8jgg2DN7uglVtEfUSEfeJP7L9hYO9+vj9/GfBfMeT/gLrXt X-Received: by 2002:a17:906:dbef:: with SMTP id yd15mr11118635ejb.5.1590830587867; Sat, 30 May 2020 02:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590830587; cv=none; d=google.com; s=arc-20160816; b=V6BZuDqfks01M/XLLrjACLl1bwcYUYto5APv5slqOVW8uU7VI1IjU8KkrmmuLsaGJT R7mpcFR3CA+Ut6w0809PAhn5ZPCCUbdo7RivOeAtvFexRoEMNr24wzlsdbtdNAmOAyKU qXMFvvrBMJYCdMS/u47oVxiscnC2/UJZ2TzbbkYLOYs9m5Haz0FzaAABMztBwqXfNTSe teMZRu330ANPkaRDSK6JoC6MfB4J4jUiDMHKmWacG2SqcKiEC9kMwMcUj2tMbyVFHTG8 ntejJZfN2cnJOBcifQMqFAfHNOdIrW5nRk6d/AYGEVo1snUTKrnmwDiGkHADq2SrbCXo ypSQ== 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:dkim-signature; bh=bs9UYgoSrJr54RlOKcX9RuR9hr2tsGVOxFS0YjFci+U=; b=GuuPf6iX6yT1rZrN/CNdsDqrWv07zVFd40eCEzhhZmOfvWROJThgunV1IHkSwpMnW+ lRxlE6urnrW3w+D7pdj0a34hVxfR2CSIuSBdajytjEaFwm97kVT/P0wnJ9GpWL6Z8Bph dPWjU4681jOrJPL1HB5rbKpVGVgpk5YUEQOS/RxZmpDNipm7LY6j5yqfprursfnzuMz1 yLYfwb2H+gRj9u/6OZuxXJ3VW86CRbX+y61Q/fGvbSGT3BMkKO1k4YGxBeJUMLRrLv8R Hl6o+ZzGpBruxj8y0B8u9hMIhly4Fvfqtl/HD+ndHQCOhSKzoydeFxIenXTTAbk/Y9J2 Zx3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nkIiznnX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si7849192eda.585.2020.05.30.02.22.44; Sat, 30 May 2020 02:23:07 -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=@gmail.com header.s=20161025 header.b=nkIiznnX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728542AbgE3JUy (ORCPT + 99 others); Sat, 30 May 2020 05:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgE3JUy (ORCPT ); Sat, 30 May 2020 05:20:54 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E189DC03E969; Sat, 30 May 2020 02:20:53 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id q9so2541833pjm.2; Sat, 30 May 2020 02:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bs9UYgoSrJr54RlOKcX9RuR9hr2tsGVOxFS0YjFci+U=; b=nkIiznnXDeCF1KvcW4aLGDkQV37ZDQTnvgj6Qctif8HyGgR6N1vtKTNWJRiJz33Fli z7zKy0SlwnZAf4/aprdq4ZD5HFInck80N6muDG7Yf12KOeKBVrsSJ9ZRsT1tUn8sVw0k ORNiFHJC/HZSnb1DLKygVeQmzLHWEA6W/+dPMvjr8iZRxxQn4u2mqU3EGhsDmJil2uMf BKm2TRispGb6nEg6+Vono/c6cPPuPtJafduR7v1LChFCjV0Ai3h0ZQ0J7yv3V8q1CdWM 1/olHrxGHbHL20M1KOu6rZZjbF36ivkw95LkOvOz4Qg47v15sb7g3Hyse3x5bBCXv/AK KFDw== 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=bs9UYgoSrJr54RlOKcX9RuR9hr2tsGVOxFS0YjFci+U=; b=f50W1nU5sSSVlkmK3J4/wmb+i18rvbbE8CTFLyX1Fo/fGu7YXhmRfsRPccpH6sAfmN NJf+t7PfOjWk5o1t+7Jt3yjZGtXIGDioqwweQRRQYNyKki+BhmjJ9MG1l9niTXTy8PlH wKGR0lXsb7NLZGMW7ipG0hdzulf5QD2ZwbUfXgxJMis1oFkftWZXCphKtfcYoZeNZJfq LoDaFrEscjwFSEDVGDdOlAmhZ2/8otuJVyC41C+pnq6CJB3M1WO1qGi980EpYgMUFSP3 ayi/rNMuEPFLvfrcadaynOUQcC/NQGi2dkcN+Q4p99TMiySkBPkVOueQM/NGMpTBAGxP Lv1A== X-Gm-Message-State: AOAM530s4eYwGUlYCWh+f8TVO4Lblw3d44uVACDIoj5JeKhF9n9sdYPa Qvyl45KQJxk2H7/No53O8j5nsy3KAvl4zcSJrac= X-Received: by 2002:a17:90b:3651:: with SMTP id nh17mr13762769pjb.228.1590830453188; Sat, 30 May 2020 02:20:53 -0700 (PDT) MIME-Version: 1.0 References: <17cb2b080b9c4c36cf84436bc5690739590acc53.1590017578.git.syednwaris@gmail.com> <202005242236.NtfLt1Ae%lkp@intel.com> <20200529183824.GW1634618@smile.fi.intel.com> In-Reply-To: From: Andy Shevchenko Date: Sat, 30 May 2020 12:20:36 +0300 Message-ID: Subject: Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro To: Syed Nayyar Waris Cc: Andy Shevchenko , Linus Walleij , Andrew Morton , William Breathitt Gray , Arnd Bergmann , Linux-Arch , Linux Kernel Mailing List 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 Sat, May 30, 2020 at 11:45 AM Syed Nayyar Waris wrote: > On Sat, May 30, 2020 at 3:49 AM Andy Shevchenko > wrote: ... > I am still investigating more on this. Let me know if you have any suggestions. As far as I understand the start pointers are implementations of abs() macro followed by min()/max(). I think in the latter case it's actually something which might help here. Sorry, right now I have no time to dive deeper. -- With Best Regards, Andy Shevchenko