Hello, What is effectively the difference between PICKUP/DROP_GIANT and mtx_lock/unlock(&Giant) ? From the macro expansion, i surmise that PICKUP/DROP_GIANT deals with recursion in Giant locking.Is this correct ? is this the only difference ? What will happen if i mix the usage of PICKUP/DROP_GIANT and mtx_lock/unlock(&Giant) ? Also,is there any hard and fast rule prescribing which method of taking the Giant should be used where in the kernel ?
TIA. Regards, Pranav --------------------------------------------------------------------------- To argue with a person who has renounced the use of reason is like administering medicine to the dead. -- Thomas Paine _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"