[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0906150954540.2800@localhost.localdomain>
Date: Mon, 15 Jun 2009 09:57:57 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>
cc: Peter Zijlstra <peterz@...radead.org>,
Darren Hart <dvhltc@...ibm.com>,
Rusty Russell <rusty@...tcorp.com.au>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Bug: fio traps into kernel without exiting because futex has a
deadloop
On Mon, 15 Jun 2009, Zhang, Yanmin wrote:
> > + ret = get_user_pages_fast(addr, 1, 1, &page);
>
> I checked function get_user_pages_fast. It might return negative, 0, or
> positive value. 0 means it doesn't pin any page. So why does below statement
> use (!ret) to put_page?
Hmm, darn. You are right. It needs to be (ret > 0)
Thanks,
tglx
Powered by blists - more mailing lists