Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp271001rwb; Wed, 9 Nov 2022 02:10:05 -0800 (PST) X-Google-Smtp-Source: AMsMyM5/GIFQTR9/YfxASJWuZBXFQBf17yJxzRAebIxrnpbOOZ3VSfipVsIvrMny8gyAVmp+tel9 X-Received: by 2002:a05:6402:31f4:b0:461:604d:2607 with SMTP id dy20-20020a05640231f400b00461604d2607mr60848620edb.330.1667988604804; Wed, 09 Nov 2022 02:10:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667988604; cv=none; d=google.com; s=arc-20160816; b=d98kgzRoQbOxqomqMQPEdZo3apqkjjLdZSh3fp8o1HHU3nVqzvsRLu2eWhc29Uc9/U bBcfjb9/JV1x1euJM9sZJWyAoAkzGKHH7AWqUy82sHLKRhZZ9FArUnHoVrB685Ts1g6c GjBUoz6w9+qRN5PKJ8lrKIxKNmgIupLdj6y3zReURf7Ih8vbOzfnzuSohtpN3/gI2caG 0jRXa2C4YJbjLPk3WTTspRsE//iJFZ1wxraBLi6QziUVrOj4toxL0OgIHOCRv/ivUL6C go8WjeOAQff1G15j8s2UYUysZj3JeonKeAizuwW/CD9Fb6DY9stp37XoY8AtB+sDXyvu CGYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Aus6ugpG5k5P6BANeudqcUMyvr6hr7ISpwFdgszcq+g=; b=VlWImSPBNE4gqUmMgsDUFWeYWOEwQiU1IGbx6Pv/4OkfSdFNhePsRzOnV85kQSJYdN G/PKlf1BeG7DR1NBRd/RqrYsxLz0wMCgN/ZqXebwGrEAfWXtuxW8AZhJfp2H2UghfWGd KPErvIZs1neTz4fmihkCJ6c28zMo7iygvvUv/ziOLqEzFhoQ/F8kSrG74VI8FOdcOYoq B87bQUfFVk3GfHZ9ek7TpG9Ji6Qzz8/ktIGSanIiMCDmfCZQcrOc+PWWWsqNZ4Ovq1YL CPCwO/Is/It2y8L/o5tOslUWX052Zj9R+aQ04NgZSlSpHaWirq+HzBxkkwyoE4joAg2b pH0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a17090634d300b00741688254f4si11424511ejb.163.2022.11.09.02.09.41; Wed, 09 Nov 2022 02:10:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbiKIJqO (ORCPT + 93 others); Wed, 9 Nov 2022 04:46:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiKIJqM (ORCPT ); Wed, 9 Nov 2022 04:46:12 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8F122BE4 for ; Wed, 9 Nov 2022 01:46:11 -0800 (PST) Received: from kwepemi500015.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4N6g882vczzRp2M; Wed, 9 Nov 2022 17:46:00 +0800 (CST) Received: from huawei.com (10.175.112.208) by kwepemi500015.china.huawei.com (7.221.188.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 17:46:08 +0800 From: Wang Wensheng To: , , , CC: , , Subject: [PATCH -next 0/3] Optimize code for ftrace Date: Wed, 9 Nov 2022 09:44:31 +0000 Message-ID: <20221109094434.84046-1-wangwensheng4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500015.china.huawei.com (7.221.188.92) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those are small optimizations discovered by code review. Wang Wensheng (3): ftrace: Fix the possible incorrect kernel message ftrace: Optimize the allocation for mcount entries ftrace: Delete unused variable ftrace_update_time kernel/trace/ftrace.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) -- 2.17.1