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

From: Jes Sorensen <jes_at_sgi.com>
Date: 2006-03-17 20:15:32
Benjamin Herrenschmidt wrote:
>> 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.

Well then the question is, would it simplify the code using no_pfn in
this case? Hacking up fake struct page entries seems even more of a
hack to me.

Cheers,
Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 17 20:16:35 2006

This archive was generated by hypermail 2.1.8 : 2006-03-17 20:16:43 EST