Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751380Ab0DJIQa (ORCPT ); Sat, 10 Apr 2010 04:16:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36790 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751062Ab0DJIQ1 (ORCPT ); Sat, 10 Apr 2010 04:16:27 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20100409195936.44663BD18@magilla.sf.frob.com> References: <20100409195936.44663BD18@magilla.sf.frob.com> <20100322184136.GA3967@redhat.com> <15829.1269333449@redhat.com> <20100323105707.GA8634@redhat.com> To: Roland McGrath Cc: dhowells@redhat.com, Oleg Nesterov , Andrew Morton , Alexey Dobriyan , "Eric W. Biederman" , linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm 3/3] proc: make task_sig() lockless Date: Sat, 10 Apr 2010 09:16:19 +0100 Message-ID: <9905.1270887379@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 665 Lines: 15 Roland McGrath wrote: > I'm not so sure. Operations like sigprocmask and sigaction really have > always been entirely atomic from the userland perspective before. Now it > becomes possible to read from /proc e.g. a blocked set that never existed > as such (one word updated by sigprocmask but not yet the next word). If you have a small userspace buffer, that was previously possible too. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/