Actually, so would I. I can suspect why there might exist machines like this
(say the consistent attribute is settable at the pgd level)
> I suspect that the parameter is not worth the clutter because these
> "partially consistent" machines either have a large amount of
> consistent memory, so the case of the allocation failing in the is not
> worth supporting, or it is easy to check for consistent memory on them
> with something like "if ((unsigned long) vaddr < 0xwhatever)", but I'm
> just guessing.
Well, if it has to be done, it can be done by making alloc_consistent return a
handle rather than an address and making wback/invalidate take the handle (but
it's certainly not ideal).
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/