Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761577AbdLSJ0s (ORCPT ); Tue, 19 Dec 2017 04:26:48 -0500 Received: from mail-wr0-f175.google.com ([209.85.128.175]:40128 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761561AbdLSJ0o (ORCPT ); Tue, 19 Dec 2017 04:26:44 -0500 X-Google-Smtp-Source: ACJfBoul7ecGHkDGg0F5bibcpIQiWMKPgVT/8YqFpgPi79T1dJAMTJSq65d891eGN9EX4pj1/I+G646tFZYFqmrwtXw= MIME-Version: 1.0 In-Reply-To: <20171219085010.4081-1-ynorov@caviumnetworks.com> References: <20171219085010.4081-1-ynorov@caviumnetworks.com> From: Philippe Ombredanne Date: Tue, 19 Dec 2017 10:26:02 +0100 Message-ID: Subject: Re: [PATCH v2] IPI performance benchmark To: Yury Norov Cc: LKML , kvm@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Andrew Morton , Ashish Kalra , Christoffer Dall , Geert Uytterhoeven , Konrad Rzeszutek Wilk , Linu Cherian , Shih-Wei Li , Sunil Goutham , Aleksey Makarov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1914 Lines: 52 Dear Yury, On Tue, Dec 19, 2017 at 9:50 AM, Yury Norov wrote: > This benchmark sends many IPIs in different modes and measures > time for IPI delivery (first column), and total time, ie including > time to acknowledge the receive by sender (second column). > --- /dev/null > +++ b/kernel/ipi_benchmark.c > @@ -0,0 +1,153 @@ > +/* > + * Performance test for IPI on SMP machines. > + * > + * Copyright (c) 2017 Cavium Networks. > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of version 2 of the GNU General Public > + * License as published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, but > + * WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * General Public License for more details. > + */ Would you mind using the new SPDX tags documented in Thomas patch set [1] rather than this fine but longer legalese? Each time long legalese is added as a comment to a kernel file, there is a whole star system that dies somewhere in the universe, which is not a good thing. SPDX tags eschew this problem by using a simple one line comment and this has been proven to be mostly harmless. And if you could spread the word to others in your team this would be very nice. I recently nudged Aleksey who nicely updated his patches a short while ago. > +MODULE_LICENSE("GPL"); There is a problem here: your MODULE_LICENSE tag means GPL-2.0 or later versions as documented in module.h. This is not consistent with your top level license notice. You should make this consistent IMHO .... and use SPDX tags for the top level notice of course! Thank you! [1] https://lkml.org/lkml/2017/12/4/934 CC: Aleksey Makarov -- Cordially Philippe Ombredanne