Re: [PATCH 04/10] powerpc: Prepare to support kernel handling ofIOMMU map/unmap

From: Andrew Morton
Date: Wed Jul 24 2013 - 18:43:11 EST


On Tue, 23 Jul 2013 12:22:59 +1000 Alexey Kardashevskiy <aik@xxxxxxxxx> wrote:

> Ping, anyone, please?

ew, you top-posted.

> Ben needs ack from any of MM people before proceeding with this patch. Thanks!

For what? The three lines of comment in page-flags.h? ack :)

Manipulating page->_count directly is considered poor form. Don't
blame us if we break your code ;)

Actually, the manipulation in realmode_get_page() duplicates the
existing get_page_unless_zero() and the one in realmode_put_page()
could perhaps be placed in mm.h with a suitable name and some
documentation. That would improve your form and might protect the code
from getting broken later on.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/