On Tue, 09 May 2006 00:00:08 -0700, Chris Wright <[email protected]> wrote:
> +static inline unsigned long pfn_to_mfn(unsigned long pfn)
> +{
> +#ifndef CONFIG_XEN_SHADOW_MODE
> + if (xen_feature(XENFEAT_auto_translated_physmap))
> + return pfn;
> + return phys_to_machine_mapping[(unsigned int)(pfn)] &
> + ~FOREIGN_FRAME_BIT;
> +#else
> + return pfn;
> +#endif
> +}
Why do we need several modes in Linux guests?
If a significant tradeoff exists (for example, between performance
and maximum addressable memory), then we need to think about the
real issue instead of throwing config options into the pot.
-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]