Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263458AbTFTREh (ORCPT ); Fri, 20 Jun 2003 13:04:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263394AbTFTREb (ORCPT ); Fri, 20 Jun 2003 13:04:31 -0400 Received: from air-2.osdl.org ([65.172.181.6]:26825 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S263535AbTFTRDF (ORCPT ); Fri, 20 Jun 2003 13:03:05 -0400 Date: Fri, 20 Jun 2003 10:18:56 -0700 (PDT) From: Patrick Mochel X-X-Sender: mochel@cherise To: Steven Dake cc: Linus Torvalds , Werner Almesberger , Subject: Re: [PATCH] udev enhancements to use kernel event queue In-Reply-To: <3EF33E4A.9040608@mvista.com> 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: 859 Lines: 22 > A class number is an excellent idea, and could have potential > performance gains. I thought of making such a patch, but expected it > would be rejected since it is necessarily required and would require > changes to significant sections of the kernel (to add the class to each > object type). > > Have any better ideas for an implementation that doesn't touch so many > sections of the kernel? It should be trivial - we can use the subsystem name that the kobject belongs to for the class ID. And, struct subsystem can gain a sequence number, instead of having a global one in lib/kobject.c. -pat - 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/