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 <davidlohr@xxxxxx> > 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 <davidlohr@xxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > > 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>