Re: [PATCH] lock assertion macros for 2.5.30

Marcin Dalecki (dalecki@evision.ag)
Thu, 08 Aug 2002 09:58:47 +0200


Uz.ytkownik Jesse Barnes napisa?:
> On Wed, Aug 07, 2002 at 06:21:07PM -0300, Rik van Riel wrote:
>
>>On Wed, 7 Aug 2002, Jesse Barnes wrote:
>>
>>>macro worked before? I could just remove all those checks in the scsi
>>>code I guess.
>>
>>That would be a better option.
>
>
> Ok.
>
>
>>The MUST_NOT_HOLD basically means the kernel will OOPS the
>>moment the lock is contended.

And for Gods sake ;-) - please call it ASSERT_ and not MUST_THIS
MUST_THAT MUST_GO_TO_TOILET. For the nonanglosaxons among us the
personifications already frequently enough present in english
nomenclature sound already awfoul enough... Additionally gerp -i assert
will work as expected, since MUST is a far more frequent term.

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