user_(high)page() easier. This will be used
by the following commit.
Suggested-by: Mathieu Desnoyers
Signed-off-by: Zi Yan
Reviewed-by: Mathieu Desnoyers
Acked-by: Vlastimil Babka
---
arch/arc/Kconfig | 1 +
arch/arc/include/asm/cachetype.h | 8
include/linux/c
om/
Tested-by: Geert Uytterhoeven
Signed-off-by: Zi Yan
Acked-by: Vlastimil Babka
---
include/linux/highmem.h | 8 +++-
include/linux/mm.h | 18 ++
mm/huge_memory.c| 9 +
mm/internal.h | 6 --
mm/memory.c | 10 +-
5 file
On 9 Dec 2024, at 13:12, Vlastimil Babka wrote:
> On 12/7/24 18:16, Zi Yan wrote:
>> Some architectures have special handling after clearing user folios:
>> architectures, which set cpu_dcache_is_aliasing() to true, require
>> flushing dcache; arc, which sets cpu_icache_
ted-by: Geert Uytterhoeven
Signed-off-by: Zi Yan
---
include/linux/highmem.h | 8 +++-
include/linux/mm.h | 18 ++
mm/huge_memory.c| 9 +
mm/internal.h | 6 --
mm/memory.c | 10 +-
5 files changed, 35 insertions(+),
user_(high)page() easier. This will be used
by the following commit.
Suggested-by: Mathieu Desnoyers
Signed-off-by: Zi Yan
Reviewed-by: Mathieu Desnoyers
---
arch/arc/Kconfig | 1 +
arch/arc/include/asm/cachetype.h | 8
include/linux/cacheinfo.h| 6 ++
3 fil
ify its intend.
Fixes: 5708d96da20b ("mm: avoid zeroing user movable page twice with
init_on_alloc=1")
Reported-by: Geert Uytterhoeven
Closes:
https://lore.kernel.org/linux-mm/CAMuHMdV1hRp_NtR5YnJo=hsfgkqeh91j537gh4gkk3pfzhs...@mail.gmail.com/
Tested-by: Geert Uytterhoeven
Signed-o
user_(high)page() easier. This will be used
by the following commit.
Suggested-by: Mathieu Desnoyers
Signed-off-by: Zi Yan
---
arch/arc/Kconfig | 1 +
arch/arc/include/asm/cachetype.h | 8
include/linux/cacheinfo.h| 6 ++
3 files changed, 15 insertions(+)
c
From: Zi Yan
This Kconfig option is used by individual arch to set its desired
MAX_ORDER. Rename it to reflect its actual use.
Acked-by: Mike Rapoport
Signed-off-by: Zi Yan
Cc: Vineet Gupta
Cc: Shawn Guo
Cc: Taichi Sugaya
Cc: Neil Armstrong
Cc: Qin Jian
Cc: Catalin Marinas
Cc: Guo Ren
From: Zi Yan
This Kconfig option is used by individual arch to set its desired
MAX_ORDER. Rename it to reflect its actual use.
Signed-off-by: Zi Yan
Cc: Vineet Gupta
Cc: Shawn Guo
Cc: Catalin Marinas
Cc: Guo Ren
Cc: Geert Uytterhoeven
Cc: Thomas Bogendoerfer
Cc: Ley Foon Tan
Cc: Michael
On 25 Mar 2020, at 22:18, Anshuman Khandual wrote:
> External email: Use caution opening links or attachments
>
>
> On 03/24/2020 06:59 PM, Zi Yan wrote:
>> On 24 Mar 2020, at 1:22, Anshuman Khandual wrote:
>>
>>> This adds new tests validating arch page table hel
On 24 Mar 2020, at 1:22, Anshuman Khandual wrote:
> This adds new tests validating arch page table helpers for these following
> core memory features. These tests create and test specific mapping types at
> various page table levels.
>
> 1. SPECIAL mapping
> 2. PROTNONE mapping
> 3. DEVMAP mapping
From: Zi Yan
Hi all,
THP migration is only enabled on x86_64 with a special
ARCH_ENABLE_THP_MIGRATION macro. This patchset enables THP migration for
all architectures that uses transparent hugepage, so that special macro can
be dropped. Instead, THP migration is enabled/disabled via
/sys/kernel
From: Zi Yan
Remove CONFIG_ARCH_ENABLE_THP_MIGRATION. thp migration is enabled along
with transparent hugepage and can be toggled via
/sys/kernel/mm/transparent_hugepage/enable_thp_migration.
Signed-off-by: Zi Yan
Cc: linux...@kvack.org
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infradead.org
From: Zi Yan
Signed-off-by: Zi Yan
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infradead.org
Cc: linux...@kvack.org
---
arch/arc/include/asm/pgtable.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arc/include/asm/pgtable.h b/arch/arc/include/asm/pgtable.h
index 08fe33830d4b
14 matches
Mail list logo