From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756964AbcK3VNd (ORCPT ); Wed, 30 Nov 2016 16:13:33 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:55466 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754813AbcK3VNJ (ORCPT ); Wed, 30 Nov 2016 16:13:09 -0500 Date: Wed, 30 Nov 2016 22:10:23 +0100 (CET) From: Thomas Gleixner To: Marcelo Tosatti cc: "Yu, Fenghua" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] intelrdt: resctrl: recommend locking for resctrlfs In-Reply-To: <20161130154809.GA27444@amt.cnet> Message-ID: References: <20161130154809.GA27444@amt.cnet> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Nov 2016, Marcelo Tosatti wrote: > > There is a locking problem between different applications > reading/writing to resctrlfs directory at the same time (read the patch > below for details). > > Suggest a standard locking scheme for applications to use. > > Signed-off-by: Marcelo Tosatti > > --- Documentation/x86/intel_rdt_ui.txt.orig 2016-11-30 13:40:33.080233101 -0200 > +++ Documentation/x86/intel_rdt_ui.txt 2016-11-30 13:45:01.253703259 -0200 I can't remember that we changed the -p1 patch format to -p0 :(