On Tue 13-06-17 09:26:15, Mike Kravetz wrote: > A thought somewhat related to this discussion: > > I noticed that huge pages specified on the kernel command line are allocated > via 'subsys_initcall'. This is before 'fs_initcall', even though these huge > pages are only used by hugetlbfs. Was just thinking that it might be better > to move huge page allocations to later in the init process. At least make > them part of fs_initcall if not late_initcall? > > Only reason for doing this is because huge page allocations are fairly > tolerant of allocation failure. I am not really familiar with the initcall hierarchy to be honest. I even do not understand what relattion does fs_initcall have to allocation failures. Could you be more specific? -- Michal Hocko SUSE Labs -- 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>