From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759871AbcAKOex (ORCPT ); Mon, 11 Jan 2016 09:34:53 -0500 Received: from mail.skyhub.de ([78.46.96.112]:34856 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751825AbcAKOev (ORCPT ); Mon, 11 Jan 2016 09:34:51 -0500 Date: Mon, 11 Jan 2016 15:34:39 +0100 From: Borislav Petkov To: Ingo Molnar Cc: Peter Zijlstra , X86 ML , LKML , Arnaldo Carvalho de Melo , Jiri Olsa , Thomas Gleixner Subject: Re: [RFC PATCH 0/5] perf: Sanitize perf directory structure, p1 Message-ID: <20160111143439.GA4665@pd.tnic> References: <1450814151-21945-1-git-send-email-bp@alien8.de> <20160111123944.GA13637@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160111123944.GA13637@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2016 at 01:39:44PM +0100, Ingo Molnar wrote: > So it is only now that I noticed that we have both 'core.c' and 'uncore.c', which > is slightly bit confusing: the core.c's we have around the kernel denote core > subsystem functionality - not CPU core functionality. If we have uncore.c around, > confusion might ensue. > > OTOH maybe it's not a big issue and we can just live with it. I'd hate to see > main.c. Maybe rename 'uncore.c' to 'cpu_uncore.c'? OTOH that sounds a bit silly > too. So maybe leave it as you named them. Well, not doung anything should be ok because the *uncore* things would go to the / subdir: I.e., arch/x86/kernel/cpu/perf_event_amd_uncore.c arch/x86/kernel/cpu/perf_event_intel_uncore.c arch/x86/kernel/cpu/perf_event_intel_uncore.h arch/x86/kernel/cpu/perf_event_intel_uncore_nhmex.c arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c will become arch/x86/events/amd/uncore.c arch/x86/events/intel/uncore.c arch/x86/events/intel/uncore.h arch/x86/events/intel/uncore_nhmex.c arch/x86/events/intel/uncore_snb.c arch/x86/events/intel/uncore_snbep.c and core.c will be in the upper dir arch/x86/events/ -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.