[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] mm improvements




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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>