[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adahcbotbvl.fsf@cisco.com>
Date: Fri, 20 Jun 2008 07:33:02 -0700
From: Roland Dreier <rdreier@...co.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Jiri Slaby <jirislaby@...il.com>, linux-kernel@...r.kernel.org,
Eli Cohen <eli@....mellanox.co.il>,
general@...ts.openfabrics.org, Oleg Nesterov <oleg@...sign.ru>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: wait_for_completion_timeout() spurious failure under heavy load?
> but like in the commit below. Agreed?
> +
> + /*
> + * If the completion has arrived meanwhile
> + * then return 1 jiffy time left:
> + */
> + if (x->done && !timeout) {
> + timeout = 1;
> + break;
> + }
> +
Sure, that looks nice to me.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists