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

From: Christopher Wedgwood <>
Date: 2003-07-30 05:03:00
On Tue, Jul 29, 2003 at 11:45:40AM -0700, Luck, Tony wrote:

> Even though you are the only user ... it would seem prudent
> to define some generic interface.

I agree but I'm more inclined to think that should be part of an EFI
interfaces cleanup though and more medium to long term perhaps?  I'd
rather see a small limited interface initially and then have that
'fixed' as requirements become more obvious.

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

The current fetchop driver export interfaces:

     * KERNEL APIs
     * 	Note: right now, these APIs return a full page of fetchops.  If these
     *	interfaces are used often for tasks which do not require a full page of
     *	fetchops, new APIs should be added to suballocate out of a single page.

    unsigned long
    fetchop_kalloc_page(int nid)
	    if (fetchop_update_stats(1, 1) < 0)
		    return 0;
	    return fetchop_alloc_page(nid);

    fetchop_kfree_page(unsigned long maddr)
	    fetchop_update_stats(-1, -1);

Might these be more generically useful at some later stage?

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Jul 29 15:07:47 2003

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