lkml.org 
[lkml]   [2008]   [Jun]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/5] mutex debug: add generic blocked_on usage
FromPeter Zijlstra <>
DateThu, 12 Jun 2008 07:25:27 +0200
On Wed, 2008-06-11 at 13:49 -0700, Daniel Walker wrote:
> plain text document attachment (blocked_on-mutex.patch)

> -#ifdef CONFIG_DEBUG_MUTEXES
> -	/* mutex deadlock detection */
> -	struct mutex_waiter *blocked_on;
> -#endif
> +	/*
> +	 * Deadlock detection and priority inheritance handling,
> +	 * and any other out of line mutex operations
> +	 */
> +	struct lock_waiter_state *blocked_on;

Now you grew task_struct unconditionally, how about

#if defined CONFIG_DEBUG_MUTEX || defined CONFIG_RT_MUTEXES || defined CONFIG_FUTEX
?



\
 
 \ /
  Last update: 2008-06-12 07:27    [from the cache]
©2003-2008