Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp322711ybt; Wed, 8 Jul 2020 00:29:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD4V07utNMepQ93H6GxfnJroVTJ2gHax17IlOUI24cKeTtmQLoFjy2zQPB0B6y/AUBChf7 X-Received: by 2002:a05:6402:1592:: with SMTP id c18mr67661866edv.258.1594193362463; Wed, 08 Jul 2020 00:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594193362; cv=none; d=google.com; s=arc-20160816; b=uCSNWRsiIs/rbU8Pavb+4PxlxeqG6QtbeEmv2sCKT+Xp5+TkQ5IxmnA8kQzjTWep++ Wwetx130dJhbGDT3wJgWx1jvDPSOh/syGuvqbI0UpjHTyRjcONNZUkC1N7wxnr6cZ+bN LLsvmSfV2QhboTBUshB8d1FbwzlNJ9eTw/FW5DO+Of4jVmSkMIFcy1bxEamIJJdZWSuq 34OyB3WpcYWWyZ292hvouWriD/8aC5Op9QeECNOtSWEKJ9sor8Yf9aoyf5kl/1Wespad X3/w4SFUfi+KY/YxH/jytljlUXcbVccPDaU1zUUl+xTplHaePvEOIW8t3SmDYNHpi5JA r+Vg== 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=pKFUgFUqW5gpKv/bMbAh9j1l3R9X9P0qKmhMZ59xEwQ=; b=SaXenqu98cRBiNre1gnxaRgzp5TkdPNPntoydmBLQGMFI36goYOpz8BQgQ3hHQBeAe rdSnucrtT1D02ApCfsN+DniOVDgm9lv/lKBBeCOaXjG7hk13bXTBExLlspAKgUnIls38 f6dwD3Q5Er1Mig8FT2rbw7ZdA8c6CmVgDN7FvGJsE5JSeNQ+dsdErVkbbQg0/l7se9c0 FE5SI4Etmw9cOLnfJRFEsQ4QRQ9unv9PtyK2SxCzAPGGkql4TSVzQNhH74sH/LFWOdSG B8m8fKympfc+q4qN6LIMIjvdmbHk+lCPPEFwD9nJR1YWLKSHrIeARkNkogbvpTEqvZw2 /JQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=utMXir49; 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 g24si15463953eje.347.2020.07.08.00.28.59; Wed, 08 Jul 2020 00:29:22 -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=utMXir49; 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 S1730521AbgGHH0Z (ORCPT + 99 others); Wed, 8 Jul 2020 03:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730253AbgGHH0Y (ORCPT ); Wed, 8 Jul 2020 03:26:24 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D971C08C5DC for ; Wed, 8 Jul 2020 00:26:24 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id m22so10875032pgv.9 for ; Wed, 08 Jul 2020 00:26:24 -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=pKFUgFUqW5gpKv/bMbAh9j1l3R9X9P0qKmhMZ59xEwQ=; b=utMXir49D0P9akytQzu1StGbltgpgfN9ZuZBKD6fgZgD44VQTaNsGnhXcWFm+cGs/0 nLMiGFHj0bFHrWS3IfMivAIsfnWj7DOvzD5wLAeDWygtxU3KVV/sKMxvuRp9f/NxM1Uy v4QeHIDA8EstrT57e413u0CMg12c77PUAoD5EWFyA/k2fTm1p86t0F55VabnwnVIXHuX OEMNtUgOZCNV3jhL1NnbK+30VCEotUhb6gPBcc3DpBYHBMeqNH+ashBDXhQRyF40GMnw XrWp9DO69UcVvLyPI7Q1R13c9hciBo11yes84IMUDj1ehnt41VneVHag6hRmzTnv7Y56 jz3g== 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=pKFUgFUqW5gpKv/bMbAh9j1l3R9X9P0qKmhMZ59xEwQ=; b=i8QQ6GI3XWkU0hb9EqSuIeU28W4u8wazlaWiyJPIDSsmVZ0nX43JctIlpM5A3xEMkp MrHwty6ajY++AbRUjj4viVsXsUuFXy355ElMXZ16RknyGdyxNg8exYgkL+f23aJCtyOO KN8/FzyBpYjfjiDR6cbRnm+r+prAs3hf3IsZTwfDb1eRtrf2T3aueGi135GA9UTZ0u+o NQJTFoXF0Zt3rsQuaJ4zHg19C9NQZw+VQ2vW8hpFneO0CsEzp7GnCBCUJWs7WRqoR42J H8dogJSf25MU92F4rudgMhyaLw9UheQ16zcB+8fh3T29X/gPTmL7a9qy1f0CVXutPAlr mbDg== X-Gm-Message-State: AOAM5306vjvP2kw9gia1JjKGIGk96Ct8xIPlhJF+yqUbtVqNPS8GcMOb nm+qul163J4WtBmlQZcqHUH7vpRnZgAsmX+3tsmX/36M X-Received: by 2002:a62:cfc1:: with SMTP id b184mr15025586pfg.153.1594193183635; Wed, 08 Jul 2020 00:26:23 -0700 (PDT) MIME-Version: 1.0 References: <20200708062023.7986-1-vulab@iscas.ac.cn> In-Reply-To: <20200708062023.7986-1-vulab@iscas.ac.cn> From: Max Filippov Date: Wed, 8 Jul 2020 00:26:12 -0700 Message-ID: Subject: Re: [PATCH] kernel: perf_event: use for_each_set_bit() to simplify the code To: Xu Wang Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, Chris Zankel , LKML , "open list:TENSILICA XTENSA PORT (xtensa)" 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 Tue, Jul 7, 2020 at 11:59 PM Xu Wang wrote: > > Using for_each_set_bit() to simplify the code. > > Signed-off-by: Xu Wang > --- > arch/xtensa/kernel/perf_event.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Thanks! Applied to my xtensa tree with a slightly edited commit message. -- Thanks. -- Max