"Andi Kleen" <ak@suse.de> writes:
> > 1. App allocates memory in user space (page-aligned).
> > (BTW, I didn't find the way of doing it on Linux beside to allocate
> > memory with malloc() and then align it to the page boundaries).
>
> mmap()
memalign() (or posix_memalign() in glibc 2.2).
-- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:17 EST