Re: [PATCH] mm/hugetlb: Warn the user when issues arise on boot due to hugepages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Of course, I could be missing some init dependency.
-- 
Mike Kravetz

--
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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux