lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: + update-mm-acx-driver-to-version-0331.patch added to -mm tree
FromArjan van de Ven <>
DateWed, 01 Feb 2006 06:28:13 +0100
> -struct wlandevice {
> +struct acx_device {
> +	/* most frequent accesses first (dereferencing and cache line!) */
> +
> +	/*** Locking ***/
> +	struct semaphore	sem;
> +	spinlock_t		lock;
> +#if defined(PARANOID_LOCKING) /* Lock debugging */
> +	const char		*last_sem;
> +	const char		*last_lock;
> +	unsigned long		sem_time;
> +	unsigned long		lock_time;
> +#endif
> +

any chance of turning this into a mutex instead?
(and you get some of the debugging for free instead that way)

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

\
 
 \ /
  Last update: 2006-02-01 06:30    [from the cache]
©2003-2008