[QUESTION] MOD_INC/MOD_DEC: useful to check for correct usage?

From: Dawson Engler (engler@csl.Stanford.EDU)
Date: Wed Apr 04 2001 - 20:25:08 EST


Hi,

in the old days you couldn't call a sleeping function in a module
before doing a MOD_INC or after doing a MOD_DEC. Then some safety nets
were added that made these obsolete (in some number of places). I was
told that people had decided to potentially get rid of all safety
nets. Is this true? Is it worthwhile to have a checker for these two
rules?
-
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/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:15 EST