RE: pgprot_writecombine & shub 1.x

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-01-13 08:54:51
>>>>> On Wed, 12 Jan 2005 20:31:30 +0100 (CET), Hugo Kohmann <hugo@dolphinics.no> said:

  Hugo> Is there any new plans to implement support for writecombine
  Hugo> in kernel space ?

I don't know of anybody who's working on it at the moment.

  Hugo> We have implemented a new socket transport family, AF_SCI,
  Hugo> that provides UDP/TCP compliant transport over SCI that needs
  Hugo> writecombine to archieve max througpht and low latency for
  Hugo> small messages. Large messages can be send using DMA, but
  Hugo> small messages highly benefit from memory mapped
  Hugo> transmission....

I think there are two somewhat separate issues here:

 (1) WC mapping of uncachable address-ranges.
 (2) WC mapping of memory.

(1) isn't much of an issue (at least for today's chips; I think we may
still be violating the architecture if we end up mapping the same
address-range both UC and WC, but current chips don't care, AFAIK).

(2) is where things get trickier.  You'd have to make sure that any
memory that's mapped WC is allocated in granule-sized chunks.  There
is no support for this at the moment.  I do think it might be
worthwhile to support this, but don't know of anybody working on it.

	--david
-
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 Wed Jan 12 19:52:28 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST