Subject: Re: GUARDED attribute not set by consistent_alloc()

From: Dan Malek <[email-masked]>
Date: Fri, 07 Feb 2003 10:57:03 -0500

Joakim Tjernlund wrote:

> ioremap() adds _PAGE_GUARDED if _PAGE_NO_CACHE is set. Should not
> consistent_alloc() also add _PAGE_GUARDED?

No.  ioremap() is used to map device registers, where operation
order is important.  consistent_alloc() maps real memory, where
setting guarded wouldn't change any behavior and would cost
significant pipeline drain cycles.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/