Re: [PATCH v4 5/8] arch: introduce set_direct_map_valid_noflush()

2024-10-07 Thread Huacai Chen
Hi, Mike, On Mon, Oct 7, 2024 at 2:30 PM Mike Rapoport wrote: > > From: "Mike Rapoport (Microsoft)" > > Add an API that will allow updates of the direct/linear map for a set of > physically contiguous pages. > > It will be used in the following patches. > > Signed-off-by: Mike Rapoport (Microsof

Re: [PATCH 3/3] mm, arch: add generic implementation of pfn_valid() for FLATMEM

2023-01-27 Thread Huacai Chen
For LoongArch part: Acked-by: Huacai Chen On Fri, Jan 27, 2023 at 9:58 AM Guo Ren wrote: > > On Thu, Jan 26, 2023 at 3:08 AM Mike Rapoport wrote: > > > > From: "Mike Rapoport (IBM)" > > > > Every architecture that supports FLATMEM memory model defines

Re: [PATCH v4 5/7] treewide: Trace IPIs sent via smp_send_reschedule()

2023-01-20 Thread Huacai Chen
For LoongArch parts, Acked-by: Huacai Chen On Thu, Jan 19, 2023 at 10:37 PM Valentin Schneider wrote: > > To be able to trace invocations of smp_send_reschedule(), rename the > arch-specific definitions of it to arch_smp_send_reschedule() and wrap it > into an smp_send_resch

Re: [PATCH v3 6/8] treewide: Trace IPIs sent via smp_send_reschedule()

2023-01-08 Thread Huacai Chen
Hi, Valentin, On Fri, Dec 2, 2022 at 11:59 PM Valentin Schneider wrote: > > To be able to trace invocations of smp_send_reschedule(), rename the > arch-specific definitions of it to arch_smp_send_reschedule() and wrap it > into an smp_send_reschedule() that contains a tracepoint. > > Changes to i

Re: [PATCH mm-unstable RFC 00/26] mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on all architectures with swap PTEs

2022-12-18 Thread Huacai Chen
On Sun, Dec 18, 2022 at 5:59 PM David Hildenbrand wrote: > > On 18.12.22 04:32, Huacai Chen wrote: > > Hi, David, > > > > What is the opposite of exclusive here? Shared or inclusive? I prefer > > pte_swp_mkshared() or pte_swp_mkinclusive() rather than > >

Re: [PATCH mm-unstable RFC 00/26] mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on all architectures with swap PTEs

2022-12-17 Thread Huacai Chen
Hi, David, What is the opposite of exclusive here? Shared or inclusive? I prefer pte_swp_mkshared() or pte_swp_mkinclusive() rather than pte_swp_clear_exclusive(). Existing examples: dirty/clean, young/old ... Huacai On Tue, Dec 6, 2022 at 10:48 PM David Hildenbrand wrote: > > This is the follo

Re: [PATCH] kernel: exit: cleanup release_thread()

2022-08-21 Thread Huacai Chen
For LoongArch parts: Acked-by: Huacai Chen On Sun, Aug 21, 2022 at 7:54 PM Catalin Marinas wrote: > > On Fri, Aug 19, 2022 at 09:44:06AM +0800, Kefeng Wang wrote: > > Only x86 has own release_thread(), introduce a new weak > > release_thread() function to clean empty defini

Re: [PATCH] arch: mm: rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER

2022-08-16 Thread Huacai Chen
For LoongArch: Acked-by: Huacai Chen On Tue, Aug 16, 2022 at 6:30 PM Catalin Marinas wrote: > > On Mon, Aug 15, 2022 at 10:39:59AM -0400, Zi Yan wrote: > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > > index 571cc234d0b3..c6fcd8746f60 100644 > > --- a/arch