Messages in this thread | | | Subject | Re: [PATCH] Physical Memory Management [0/1] | From | Andi Kleen <> | Date | Thu, 14 May 2009 21:33:11 +0200 |
| |
Michaâ Nazarewicz <m.nazarewicz@samsung.com> writes: > > The idea here is that there are n hardware accelerators, each > can operate on 1MiB blocks (to simplify assume that's the case).
You could just define a hugepage size for that and use hugetlbfs with a few changes to map in pages with multiple PTEs. It supports boot time reservation and is a well established interface.
On x86 that would give 2MB units, on other architectures whatever you prefer.
-Andi
-- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |