Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Nov 2002 00:53:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Nov 2002 00:53:12 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:52133 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Tue, 5 Nov 2002 00:53:11 -0500 Date: Tue, 5 Nov 2002 00:59:45 -0500 (EST) From: Alexander Viro To: "Martin J. Bligh" cc: andersen@codepoet.org, Werner Almesberger , jw schultz , LKML Subject: Re: ps performance sucks (was Re: dcache_rcu [performance results]) In-Reply-To: <3838354491.1036446246@[10.10.2.3]> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 23 On Mon, 4 Nov 2002, Martin J. Bligh wrote: > > I do dislike /dev/ps mightily. > > Well it can't be any worse than the current crap. At least it'd > stand a chance in hell of scaling a little bit. So I took a very > quick look ... what syscalls are you reduced to per pid, one ioctl > and one read? Oh, yes it can. Easily. * device is not network-transparent - even in principle * restricting data access would be harder - welcome to suid or sgid country * real killer: you think Albert would fail to produce equally crappy code and equally crappy behaviour? Yeah, right. - 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/