Received: by 10.213.65.68 with SMTP id h4csp1867439imn; Thu, 29 Mar 2018 12:33:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+6vD+Wascf+T6Uxvnw+ChoSYA9EWqYwJ79nsq0/7f6KPo0RoHZEwoFOAWz1U4mTKttBqcW X-Received: by 2002:a17:902:20cb:: with SMTP id v11-v6mr9996118plg.82.1522352008901; Thu, 29 Mar 2018 12:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522352008; cv=none; d=google.com; s=arc-20160816; b=Ii1azeZ7UkOdPEPZpSwGo+4V3xHdnRnqJwTYXXzDKfcBMI3paG5DBUI83NkkVrxKus NXo6f4YTT+bned1MmuC6IWK8CMMLGT/0vRnUv6tPk20MAfuQINzhJfsy7FvUo+bcUOe5 Hne0efPPU7IRaz35GI7TCN1ie8amru+N77HScWysqdmPrYxHLblaP1YL6kaU1SShUKIX epCt6wfBxU+ghSynB99xgbOtLPj4pSTDLmcK2TWy1rMUt9nQp8uwx+F1eAv7HTKPA/CM HoFL07AcGVn6NOpLTwlFdJEXQhWJ4bnDLsYgqowJgOgpxfbJ4d+bRNH2F5dPpC+hTF8l SOuw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Tla7WB06SpLASChdW2gZrY46z8zc/K3zUzgptXhBIKI=; b=yeusc/d/ZmKA478Pv+W4PB61MVJyTio9PjZyu3yJrZCETBq8anGdNZxvzjT34VJGG5 8yYbZ1UsydBXkyEV4wyz7oIiBRAamBHQCwzMr3v7Q0IRNkQ2g3drtlAtLKkzos+TsnM/ pd/7p2RXpwHeyOTuatRGyCurcZbK0YoLkU1xY+3ax1nOp9IQ6RzppJPVp51JNi0GqDKx Wf6FqwDDpleaDukD+vRWu7HdK0BSxjIwEhgo0uRwRPR404njlCpBQFjTrDhPxCY7G/2f B3OxqLBWQvy0yowNQz4boRAS9+gsJXFiuEzm5ND6BX+MJDtytzP9zV/iq3kqvLUyy0R/ cKSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nlW+4kYN; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n34-v6si6467699pld.603.2018.03.29.12.33.14; Thu, 29 Mar 2018 12:33:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nlW+4kYN; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752004AbeC2TcB (ORCPT + 99 others); Thu, 29 Mar 2018 15:32:01 -0400 Received: from mail-ot0-f178.google.com ([74.125.82.178]:45285 "EHLO mail-ot0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbeC2TcA (ORCPT ); Thu, 29 Mar 2018 15:32:00 -0400 Received: by mail-ot0-f178.google.com with SMTP id h26-v6so7533158otj.12; Thu, 29 Mar 2018 12:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tla7WB06SpLASChdW2gZrY46z8zc/K3zUzgptXhBIKI=; b=nlW+4kYNjdoeYovZQbTFKOsZnF4s3pF7uMdq1vJmQaqPNKhHd+hBjG+3UYUJs3WMN6 AFHh0yJSi4TwphDrnlshKC/nCMR0/J41D2dZHoWfy21RKq2rO2ZgSvEBAg/vWXBwt7VR HNArCY+WpyMtYIXw1WfwMOogHi82lFpH/iWUzTbLULtP9ioT0GgHRlA51AijZwdUhEu8 r4BftVU8h19g3Co5PUs8cr7vk8sMILoEqxULLd4y2HvGCZttEdr9uAK/+PIOTP89ISZ9 8WAKTPJj80Pue3BYsNq4fLAaYxFdTIaX6xMbTl5JkqeOd5OnOSX8N7sjy7dFuaYdERzC NZ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tla7WB06SpLASChdW2gZrY46z8zc/K3zUzgptXhBIKI=; b=s3SK4/G0h1adNxCahNVgxrStJp50i79moKUNGTvUxmO+hWQc5YzVpjcSwwvHH9mdZB oF2dsBfQ6tVDeH8Ji/RrmNZuQvzCF6HmJk4liZYH6F8WBNczTUkiLAFLFB+msX8zq2Tf j2I+bTl6ctLGhP5PLzlQeEMsCNYSsfpGM4pr8arl2qtSQqtIDr28tVsTdgEVZTkfQmFF Kz/26Kl0LAajzUYAxXC6Tsxw0SX/Er28X4dePtfdVqSulGmBKYMpA7lqHSYJD1LQ8scY lyD0EjwsEdNhQTqWS1Gk9MuT+cdEzKFtAavEORWi/WtRftWKjdEU7YMkNGwKSdY5LAZE I6hg== X-Gm-Message-State: AElRT7GYM+bvata08hYTicBDd2ljq7RLB+2Lmtq/JfPVBkCPxF+Uzpvc dkOpclJj5hY6uJNCs3lIqxDxuJA9HyFrrzmHNMk= X-Received: by 2002:a9d:2e11:: with SMTP id q17-v6mr5413842otb.175.1522351919436; Thu, 29 Mar 2018 12:31:59 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6010:0:0:0:0:0 with HTTP; Thu, 29 Mar 2018 12:31:58 -0700 (PDT) In-Reply-To: References: From: Fabio Estevam Date: Thu, 29 Mar 2018 16:31:58 -0300 Message-ID: Subject: Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings To: Julia Lawall Cc: Francisco Jerez , linux-pm@vger.kernel.org, Viresh Kumar , "Rafael J. Wysocki" , linux-kernel , kbuild-all@01.org, Srinivas Pandruvada , 0day robot , Len Brown 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 Hi Julia, On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant overhead as compared to > DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). Just curious: could you please expand on what "imposes some significant overhead" means? Thanks