RE: [PATCH] (2.4.x bk) efi_memmap_walk_uc

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2003-07-30 04:45:40
> would then be required.  Since this is the only consumer of this
> interface thus far I'm not sure it's obvious how the function should
> best work.
> 
> 
> 
> The issue right now seems to be whether or not this or some variation
> of this is useful and/or desirable in the mainline kernel or whether
> for now it's best to hide this in the driver until a later stage when
> the EFI interfaces are abstracted out a little more to make this
> easier?

Even though you are the only user ... it would seem prudent
to define some generic interface.  Right now you just assume
(correctly) that all the uncacheable memory has been ignored
by Linux.  There are two problems with this:

1) Someday that might change. E.g. Linux might need to alloc uncacheable
   memory for min_state areas for more complex MCA recovery

2) There is no way for another non-kernel user of uncacheable
   memory to share the resource with you.

-Tony
-
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 Tue Jul 29 14:45:56 2003

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