[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130630182837.GA5738@redhat.com>
Date: Sun, 30 Jun 2013 20:28:37 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Valdis.Kletnieks@...edu
Cc: Randy Dunlap <rdunlap@...radead.org>, akpm@...ux-foundation.org,
mm-commits@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
linux-next@...r.kernel.org
Subject: Re: mmotm 2013-06-27-16-36 uploaded (wait event common)
On 06/29, Valdis.Kletnieks@...edu wrote:
>
> On Thu, 27 Jun 2013 22:30:41 -0700, Randy Dunlap said:
>
> > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1;
>
> Was this trying to do a wait_ho_timeout(!!tout) or something?
No, __wait_no_timeout() means that tout == MAX_SCHEDULE_TIMEOUT.
But the logic is wrong, we should return zero in this case.
Oleg.
--
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