On Wed, 22 Jul 2015, Davidlohr Bueso wrote: > fwiw, I've been trying to push people towards this for a while. Ie: > > commit 15610c86fa83ff778eb80d3cfaa71d6acceb628a > Author: Davidlohr Bueso <davidl...@hp.com> > Date: Wed Sep 11 14:21:48 2013 -0700 > > hugepage: mention libhugetlbfs in doc > > Explicitly mention/recommend using the libhugetlbfs test cases when > changing related kernel code. Developers that are unaware of the project > can easily miss this and introduce potential regressions that may or may > not be caught by community review. > > Also do some cleanups that make the document visually easier to view at a > first glance. > > Signed-off-by: Davidlohr Bueso <davidl...@hp.com> > Signed-off-by: Andrew Morton <a...@linux-foundation.org> > Signed-off-by: Linus Torvalds <torva...@linux-foundation.org> > > But generally speaking, I doubt this doc is read much. >
The mmap(2) man page cites it specifically as the source of information on MAP_HUGETLB and it, in turn, directs people to tools/testing/selftests/vm/map_hugetlb.c. It also mentions libhugetlbfs as a result of your patch, so perhaps change the man page to point people directly there? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/