Re: [PATCH 0/5] mm improvements

Nikita Danilov
2004-02-05T15:20:49Z

Nick Piggin writes:
>
>
> Nick Piggin wrote:
>
> >
> > + pte_dirty = page_pte_is_dirty(page, pte_paddr);
> > + if (pte_dirty != 0)
> > + ret = pte_dirty;
> >
> >
> > Won't this leave ret in a random state? Should it be ret++?
> >
>
> ... must be past my bedtime.
>

Well, @ret handling is kind of obscure in this function, right.

Nikita.