Received: by 10.213.65.68 with SMTP id h4csp390012imn; Fri, 23 Mar 2018 06:53:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELv3oNN3J+cDiUiCHY4glwEduIUPkFyNSsgDqMRS+7+M37LxH++KMjQdFWJTwAg+ne6cIl7h X-Received: by 10.99.45.131 with SMTP id t125mr16547208pgt.267.1521813220528; Fri, 23 Mar 2018 06:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521813220; cv=none; d=google.com; s=arc-20160816; b=I91wURtMZI7XBIzSPIVqUZl5fnBJQcYaPzT6/wzLatsO//ytyIcoC3+q0v6mvqWSS8 oXthkkpfnD8dVmaD1mDSJpwL5Ixrsl60PCeyZx7etkgAHVTCcJ+8AKTWP0Bh4CZGeK/B 8yvH0EtvlUjh6rEe13hHs8Sl/4keNdsQI696dizf9mmSuZP0klXr6fr29MuOz9sGxKLB tj9WAZ4swJE4+Y7A4KuY8Pv6BOrtYoAQJvjLvQ7hp5ezbPhCHeuorZ219spPOkdIPpuZ R+gC0MolsPYZumjP0v6PiSOURQSobOiivh7az2Gz6gc7g95CDDMhnGeHnk/g32g9ueuy Z2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=aYzMr8+8uN+E/M42P6oRPA//0UONI2vWm/xoDaWiKi8=; b=gN2uL27eAmGDplI05CuM5Vq92vmqt9PVYI4WhXR9IGgLjrPl/8oppVbA/12xSjw6cl LX69tqL3wJ3fLsEzX6Qc8ukUXO/f7P9FbW8+nC4XVRO3Vb191DdhEChuDxNPkp9mJcar BMiKBtdIvsnKpRxRIC82Hj4GnBo2kIFs3jwFsOmoWPkfw/1gDbqGdDk7NijnqRu2+0OU p10VyDj+p1bhrlozoVUTk1WTtUnm3QsT4NquTgrtULE36pNl0HVUJzOnpJm0gU+3b19K Ss5RRRyCDt3MOOsbegAVLBsDJLmyJLURQAdLcCqcUrmRMwKSTzXwJUI+wWhO7WAbBsc9 +34w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m189si6815939pfb.130.2018.03.23.06.53.24; Fri, 23 Mar 2018 06:53:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752627AbeCWNw3 (ORCPT + 99 others); Fri, 23 Mar 2018 09:52:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:33288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447AbeCWNw2 (ORCPT ); Fri, 23 Mar 2018 09:52:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7C424ACF0; Fri, 23 Mar 2018 13:52:27 +0000 (UTC) Date: Fri, 23 Mar 2018 14:52:25 +0100 From: Michal Hocko To: Steven Rostedt Cc: LKML , linux-mm@kvack.org, Mel Gorman , Vlastimil Babka , Andrew Morton , Linus Torvalds , Alexei Starovoitov Subject: Re: [PATCH] mm, vmscan, tracing: Use pointer to reclaim_stat struct in trace event Message-ID: <20180323135225.GV23100@dhcp22.suse.cz> References: <20180322121003.4177af15@gandalf.local.home> <20180323134200.GT23100@dhcp22.suse.cz> <20180323094753.760b2c86@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180323094753.760b2c86@gandalf.local.home> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 23-03-18 09:47:53, Steven Rostedt wrote: > On Fri, 23 Mar 2018 14:42:00 +0100 > Michal Hocko wrote: > > > Yes, the number of parameter is large. struct reclaim_stat is an > > internal stuff so I didn't want to export it. I do not have strong > > objections to add it somewhere tracing can find it though. > > The one solution is to pull the tracing file > include/trace/events/vmscan.h into mm/ and have a local header to store > the reclaim_stat structure that both vmscan.h and vmscan.c can > reference. I guess we can live with the public definition as well. -- Michal Hocko SUSE Labs