Re: [patch] mspec - special memory driver and do_no_pfn handler

From: Benjamin Herrenschmidt
Date: Thu Mar 16 2006 - 23:56:01 EST



> Quite frankly, I don't think nopfn() is a good interface. It's only usable
> for one single thing, so trying to claim that it's a generic VM op is
> really not valid. If (and that's a big if) we need this interface, we
> should just do it inside mm/memory.c instead of playing games as if it was
> generic.

Or just use sparsemem and create struct pages for your hw :) we do that
for SPUs on Cell, works like a charm.

Ben.


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