Re: [RFC MM 3/4] add mm version number

KAMEZAWA Hiroyuki
2009-11-13T16:27:10Z

Minchan Kim wrote:
> Hi, Kame.
>
Hi,

> On Fri, Nov 13, 2009 at 4:40 PM, KAMEZAWA Hiroyuki
> <kamezawa.hiroyu@jp.fujitsu.com> wrote:

>> &#160;static inline int mm_writer_trylock(struct mm_struct *mm)
>> &#160;{
>> - &#160; &#160; &#160; return down_write_trylock(&mm->sem);
>> + &#160; &#160; &#160; int ret = down_write_trylock(&mm->sem);
>> + &#160; &#160; &#160; if (!ret)
>
> It seems your typo.
> if (ret) ?
>
yes, yes..my mistake.
Thank you.

Regards,
-Kame

>> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; mm->generation++;
>> + &#160; &#160; &#160; return ret;
>> &#160;}
>
> --
> Kind regards,
> Minchan Kim