Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563AbYGEOHt (ORCPT ); Sat, 5 Jul 2008 10:07:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752249AbYGEOHl (ORCPT ); Sat, 5 Jul 2008 10:07:41 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:47435 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793AbYGEOHk (ORCPT ); Sat, 5 Jul 2008 10:07:40 -0400 Date: Sat, 5 Jul 2008 16:07:39 +0200 (CEST) From: Jan Engelhardt To: Vegard Nossum cc: Andrew Morton , Matthew Wilcox , Linus Torvalds , Peter Anvin , "David S. Miller" , linux-ia64@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: the printk problem In-Reply-To: <19f34abd0807050650y327ca434pfca324fcccc14f06@mail.gmail.com> Message-ID: References: <20080705125230.GA20166@damson.getinternet.no> <19f34abd0807050650y327ca434pfca324fcccc14f06@mail.gmail.com> User-Agent: Alpine 1.10 (LNX 962 2008-03-14) 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 Content-Length: 638 Lines: 15 On Saturday 2008-07-05 15:50, Vegard Nossum wrote: > >I think the most elegant solution would be a macro similar to the >initcall macros, that adds the custom extensions to a table which is >defined by a special linker section. This allows complete >decentralization, but I don't think it's possible to do binary search >on the names anymore. With an rbtree, you can still do binary search. -- 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/