Re: [PATCH] more deprectation bits

Christoph Hellwig (hch@lst.de)
Sun, 29 Dec 2002 22:58:43 +0100


On Sun, Dec 29, 2002 at 01:55:48PM -0800, Andrew Morton wrote:
> > Even if it's safe in that particular case, most code in the kernel runs
> > without BKL. This patch just makes the deprication of sleep_on
> > explicit.
>
> This would be more appropriate:

I don't think so. As you said before sleep_on is perfectly fine for
the small part of code still covered by BKL, so we should not impose
any runtime overhead (i.e. warnings) but rather remind at compile time.

That's what's so nice with the gcc extension (and you won't see it
anyway as long as you stay at egcs 1.1 :))

-
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/