Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Jul 2002 07:20:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Jul 2002 07:20:44 -0400 Received: from mail.storm.ca ([209.87.239.66]:29913 "EHLO mail.storm.ca") by vger.kernel.org with ESMTP id ; Wed, 10 Jul 2002 07:20:42 -0400 Message-ID: <3D2C0C3A.FB0FFBE9@storm.ca> Date: Wed, 10 Jul 2002 06:28:10 -0400 From: Sandy Harris Organization: Flashman's Dragoons X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: en MIME-Version: 1.0 To: kernel-janitor-discuss CC: linux-kernel@vger.kernel.org Subject: Re: BKL removal References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 19 Alexander Viro wrote: > Again, the real mess is due to the way we use cpp. ... > > As it is, we have way too many ifdefs to hope that any automated tool > would be able to cope with the damn thing. It used to be worse - > these days several really nasty piles of ifdefs are gone. However, > we still have quite a few remaining. > > Quick-and-dirty search shows ~1.2e4 ifdefs on CONFIG_... in the tree. > Most of them - patently ridiculous ... There's a classic Usenix paper "#ifdef Considered Harmful": http://www.google.ca/search?q=cache:kOjOJGuyArgC:www.literateprogramming.com/ifdefs.pdf+ifdef+considered+harmful&hl=en&ie=UTF-8 - 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/