From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753135AbbGIPKB (ORCPT ); Thu, 9 Jul 2015 11:10:01 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57408 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751803AbbGIPJy (ORCPT ); Thu, 9 Jul 2015 11:09:54 -0400 From: Petr Mladek To: Steven Rostedt Cc: Jiri Kosina , Ingo Molnar , linux-kernel@vger.kernel.org, Petr Mladek Subject: [PATCH 0/2] Some cleanup of ring buffer benchmark Date: Thu, 9 Jul 2015 17:09:19 +0200 Message-Id: <1436454561-29925-1-git-send-email-pmladek@suse.com> X-Mailer: git-send-email 1.8.5.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I send two patches that are side effect of my quest for a better kthread API. They are not super important but I hope that you find them useful. The first patch helped me to get rid of an operation outside the main cycle. It makes the code cleaner anyway. The second patch improves my previous commit. The race is not critical. It would just delay the rmmod. Anyway, I am getting more familiar with all the possible problems around scheduling and I hope that I see it better now. PS: I have vacation the following two weeks and probably won't be able to answer potential questions in the meantime. These two patches are part of a bigger patch set that I will send after vacation. If they get integrated, it would be nice. Sigh, I have bad timing these days. Petr Mladek (2): ring_buffer: Initialize completions statically in the benchmark ring_buffer: Fix more races when terminating the producer in the benchmark kernel/trace/ring_buffer_benchmark.c | 77 ++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 38 deletions(-) -- 1.8.5.6