On 07/23/2020 08:52 AM, Baoquan He wrote: > A customer complained that no message is logged wh en the number of > persistent huge pages is not changed to the exact value written to > the sysfs or proc nr_hugepages file. > > In the current code, a best effort is made to satisfy requests made > via the nr_hugepages file. However, requests may be only partially > satisfied. > > Log a message if the code was unsuccessful in fully satisfying a > request. This includes both increasing and decreasing the number > of persistent huge pages. But is kernel expected to warn for all such situations where the user requested resources could not be allocated completely ? Otherwise, it does not make sense to add an warning for just one such situation.
- [PATCH v2 0/4] mm/hugetlb: Small cleanup and improvement Baoquan He
- [PATCH v2 1/4] mm/hugetlb.c: make is_hugetlb_entry_... Baoquan He
- Re: [PATCH v2 1/4] mm/hugetlb.c: make is_hugetl... Anshuman Khandual
- [PATCH v2 4/4] mm/hugetl.c: warn out if expected co... Baoquan He
- Re: [PATCH v2 4/4] mm/hugetl.c: warn out if exp... Anshuman Khandual
- Re: [PATCH v2 4/4] mm/hugetl.c: warn out if... Baoquan He
- Re: [PATCH v2 4/4] mm/hugetl.c: warn ou... Mike Kravetz
- Re: [PATCH v2 4/4] mm/hugetl.c: wa... Baoquan He
- [PATCH v2 2/4] mm/hugetlb.c: Remove the unnecessary... Baoquan He
- Re: [PATCH v2 2/4] mm/hugetlb.c: Remove the unn... Anshuman Khandual
- Re: [PATCH v2 2/4] mm/hugetlb.c: Remove the... Baoquan He
- Re: [PATCH v2 2/4] mm/hugetlb.c: Remove... Anshuman Khandual
- [PATCH v3 2/4] mm/hugetlb.c: Remove the unneces... Baoquan He
- [PATCH v2 3/4] doc/vm: fix typo in the hugetlb admi... Baoquan He
- Re: [PATCH v2 3/4] doc/vm: fix typo in the huge... Anshuman Khandual