Re: [patch] remove hugetlb syscalls

William Lee Irwin III (wli@holomorphy.com)
Thu, 14 Nov 2002 12:36:48 -0800


On Thu, Nov 14, 2002 at 12:11:32PM -0800, Rohit Seth wrote:
> This is not the problem with MAP_SHARED. It is the lack of (arch
> specific) hugepage aligned function support in the kernel. You can use
> the mmap on hugetlbfs using only MAP_FIXED with properly aligned
> addresses (but then this also is only a hint to kernel). With addr ==
> NULL in mmap, the function is bound to fail almost all the times.

There's very little standing in the way of automatic placement. If in
your opinion it should be implemented, I'll add that feature today.

IIRC you mentioned you would like to export the arch-specific
hugepage-aligned vma placement functions; once these are available,
it should be trivial to reuse them.

Thanks,
Bill
-
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/