Re: [patch 20/20] Add apply_to_page_range() which applies a functionto a pte range.

From: Jeremy Fitzhardinge
Date: Thu Apr 19 2007 - 15:45:27 EST


Matt Mackall wrote:
> I think adding a flags field and an allocate flag to my callback
> struct would be sufficient here.
>

Yes, probably.

What about something that wants to shatter superpages?

> The syntax is horrible, but I don't think we end up using the
> resultant type enough to justify the namespace pollution.
>

Don't know that that's a huge concern. The typedef namespace (*_t) is
pretty empty, and its not like we're talking about something that's
visible outside the kernel. And the syntax is *really* ugly.

J
-
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/