Thread (13 messages) 13 messages, 3 authors, 2017-07-28

Re: [RFC PATCH 3/3] mm/hugetlb: Remove pmd_huge_split_prepare

From: Aneesh Kumar K.V <hidden>
Date: 2017-07-27 15:57:49
Also in: linux-mm


On 07/27/2017 06:27 PM, Michal Hocko wrote:
On Thu 27-07-17 14:07:56, Aneesh Kumar K.V wrote:
quoted
Instead of marking the pmd ready for split, invalidate the pmd. This should
take care of powerpc requirement.
which is?
I can add the commit which explain details here. Or add more details 
from the older commit here.

c777e2a8b65420b31dac28a453e35be984f5808b

powerpc/mm: Fix Multi hit ERAT cause by recent THP update

quoted
Only side effect is that we mark the pmd
invalid early. This can result in us blocking access to the page a bit longer
if we race against a thp split.
Again, this doesn't tell me what is the problem and why do we care.
Primary motivation is code reduction.

   7 files changed, 35 insertions(+), 87 deletions(-)


-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help