Re: [PATCH v5 2/5] allow mapping page-less memremaped areas into KVA

From: Dave Hansen
Date: Thu Aug 13 2015 - 13:37:54 EST


On 08/13/2015 07:48 AM, Boaz Harrosh wrote:
> There is already an object that holds a relationship of physical
> to Kernel-virtual. It is called a memory-section. Why not just
> widen its definition?

Memory sections are purely there to map physical address ranges back to
metadata about them. *Originally* for 'struct page', but widened a bit
subsequently. But, it's *never* been connected to kernel-virtual
addresses in any way that I can think of.

So, that's a curious statement.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/