From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [patch 4/7] fdinfo: Show sigmask for signalfd fd v3 Date: Thu, 15 Nov 2012 17:49:31 +0400 Message-ID: <50A4F2EB.2020109@parallels.com> References: <20121114151937.344922058@openvz.org> <20121114152239.674555420@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , Alexey Dobriyan , Andrew Morton , James Bottomley , Matthew Helsley , aneesh.kumar@linux.vnet.ibm.com, bfields@fieldses.org, oleg@redhat.com, rientjes@google.com, tvrtko.ursulin@onelan.co.uk, Andrey Vagin To: Cyrill Gorcunov Return-path: In-Reply-To: <20121114152239.674555420@openvz.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 11/14/2012 07:19 PM, Cyrill Gorcunov wrote: > The sigmask is read in lockless manner for a sake of > code simplicity, thus if precise data needed here > the tasks which refer to the signalfd should be > stopped before read. > > Signed-off-by: Cyrill Gorcunov > CC: Pavel Emelyanov > CC: Oleg Nesterov > CC: Andrey Vagin > CC: Al Viro > CC: Alexey Dobriyan > CC: Andrew Morton > CC: James Bottomley > CC: "Aneesh Kumar K.V" > CC: Alexey Dobriyan > CC: Matthew Helsley > CC: "J. Bruce Fields" > CC: "Aneesh Kumar K.V" > CC: Tvrtko Ursulin > --- > fs/proc/array.c | 2 +- > fs/signalfd.c | 18 ++++++++++++++++++ > include/linux/proc_fs.h | 3 +++ > 3 files changed, 22 insertions(+), 1 deletion(-) Acked-by: Pavel Emelyanov