Re: [PATCH v1 2/4] mm: Cleanup apply_to_pte_range() routine

2025-04-14 Thread Alexander Gordeev
On Fri, Apr 11, 2025 at 04:46:58PM +1000, Nicholas Piggin wrote: > On Tue Apr 8, 2025 at 1:11 AM AEST, Alexander Gordeev wrote: > > Reverse 'create' vs 'mm == &init_mm' conditions and move > > page table mask modification out of the atomic context. > > > > Signed-off-by: Alexander Gordeev > > ---

Re: [PATCH v1 2/4] mm: Cleanup apply_to_pte_range() routine

2025-04-10 Thread Nicholas Piggin
On Tue Apr 8, 2025 at 1:11 AM AEST, Alexander Gordeev wrote: > Reverse 'create' vs 'mm == &init_mm' conditions and move > page table mask modification out of the atomic context. > > Signed-off-by: Alexander Gordeev > --- > mm/memory.c | 28 +--- > 1 file changed, 17 insert

[PATCH v1 2/4] mm: Cleanup apply_to_pte_range() routine

2025-04-07 Thread Alexander Gordeev
Reverse 'create' vs 'mm == &init_mm' conditions and move page table mask modification out of the atomic context. Signed-off-by: Alexander Gordeev --- mm/memory.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 2d8