Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697688
| From | Mike Kravetz <mike.kravetz@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour |
| Date | 2017-07-27 05:20 +0200 |
| Message-ID | <u7Hvb-Kv-5@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <u7qkF-6w4-1@gated-at.bofh.it> <u7tse-aO-9@gated-at.bofh.it> <u7tLz-jq-7@gated-at.bofh.it> <u7tVf-mT-5@gated-at.bofh.it> <u7uHF-SQ-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/26/2017 06:34 AM, Punit Agrawal wrote: > Michal Hocko <mhocko@kernel.org> writes: > >> On Wed 26-07-17 14:33:57, Michal Hocko wrote: >>> On Wed 26-07-17 13:11:46, Punit Agrawal wrote: >> [...] >>>> I've been running tests from mce-test suite and libhugetlbfs for similar >>>> changes we did on arm64. There could be assumptions that were not >>>> exercised but I'm not sure how to check for all the possible usages. >>>> >>>> Do you have any other suggestions that can help improve confidence in >>>> the patch? >>> >>> Unfortunatelly I don't. I just know there were many subtle assumptions >>> all over the place so I am rather careful to not touch the code unless >>> really necessary. >>> >>> That being said, I am not opposing your patch. >> >> Let me be more specific. I am not opposing your patch but we should >> definitely need more reviewers to have a look. I am not seeing any >> immediate problems with it but I do not see a large improvements either >> (slightly less nightmare doesn't make me sleep all that well ;)). So I >> will leave the decisions to others. > > I hear you - I'd definitely appreciate more eyes on the code change and > description. I like the change in semantics for the routine. Like you, I examined all callers of huge_pte_offset() and it appears that they will not be impacted by your change. My only concern is that arch specific versions of huge_pte_offset, may not (yet) follow the new semantic. Someone could potentially introduce a new huge_pte_offset call and depend on the new 'documented' semantics. Yet, an unmodified arch specific version of huge_pte_offset might have different semantics. I have not reviewed all the arch specific instances of the routine to know if this is even possible. Just curious if you examined these, or perhaps you think this is not an issue? -- Mike Kravetz
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Punit Agrawal <punit.agrawal@arm.com> - 2017-07-25 17:50 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Catalin Marinas <catalin.marinas@arm.com> - 2017-07-26 10:40 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Michal Hocko <mhocko@kernel.org> - 2017-07-26 11:00 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Punit Agrawal <punit.agrawal@arm.com> - 2017-07-26 14:20 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Michal Hocko <mhocko@kernel.org> - 2017-07-26 14:40 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Michal Hocko <mhocko@kernel.org> - 2017-07-26 14:50 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Punit Agrawal <punit.agrawal@arm.com> - 2017-07-26 15:40 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Mike Kravetz <mike.kravetz@oracle.com> - 2017-07-27 05:20 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Punit Agrawal <punit.agrawal@arm.com> - 2017-07-27 15:00 +0200
Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour Michal Hocko <mhocko@kernel.org> - 2017-07-26 11:00 +0200
csiph-web