Re: Linux-2.6.13 : __check_region is deprecated

From: Diego Calleja
Date: Mon Aug 29 2005 - 18:29:53 EST


El Tue, 30 Aug 2005 01:14:17 +0200,
Stephane Wirtel <stephane.wirtel@xxxxxxxxxxxx> escribió:

> Is there a function to replace this deprecated function ?

request_region

> Why is it deprecated ?

>From http://lists.osdl.org/pipermail/kernel-janitors/2004-January/000346.html:
"The reason that check_region() is deprecated is that it is racy.
It could report that a region is available and then another driver
could immediately reserve that region, since check_region() doesn't
have any reservation capability."


/me wonders why check_region has not been killed, it has been
deprecated for years; killing it would force developers to fix it
and would help to identify unmaintained drivers...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/