[PATCH v3 10/13 fix2] mm/khugepaged: collapse_pte_mapped_thp() with mmap_read_lock(): fix2

2023-08-05 Thread Hugh Dickins
Use ptep_clear() instead of pte_clear(): when CONFIG_PAGE_TABLE_CHECK=y, ptep_clear() adds some accounting, missing which would cause a BUG later. Signed-off-by: Hugh Dickins Reported-by: Qi Zheng Closes: https://lore.kernel.org/linux-mm/0df84f9f-e9b0-80b1-4c9e-95abc1a73...@bytedance.com/ ---

Re: [PATCH v3 10/13] mm/khugepaged: collapse_pte_mapped_thp() with mmap_read_lock()

2023-08-05 Thread Hugh Dickins
On Thu, 3 Aug 2023, Qi Zheng wrote: > On 2023/7/12 12:42, Hugh Dickins wrote: > > Bring collapse_and_free_pmd() back into collapse_pte_mapped_thp(). > > It does need mmap_read_lock(), but it does not need mmap_write_lock(), > > nor vma_start_write() nor i_mmap lock nor anon_vma lock. All racing >

[powerpc:next-test] BUILD SUCCESS f70befab789763be9c0a5d7073a4f27b9337c704

2023-08-05 Thread kernel test robot
arc randconfig-r011-20230805 gcc arc randconfig-r012-20230805 gcc arc randconfig-r032-20230805 gcc arc randconfig-r034-20230805 gcc arc randconfig-r036-20230805 gcc arc

[powerpc:merge] BUILD SUCCESS 645a4f1c0f58dcb511e23e76c9ec860808540f60

2023-08-05 Thread kernel test robot
successfully. More configs may be tested in the coming days. tested configs: alphaallyesconfig gcc alpha defconfig gcc alpharandconfig-r026-20230805 gcc arc allyesconfig gcc arc

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.5-5 tag

2023-08-05 Thread pr-tracker-bot
The pull request you sent on Sat, 05 Aug 2023 22:45:58 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.5-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/251a94f1f66e909d75a774ac474a63bd9bc38382 Thank you! --

Re: [PATCH v7 7/7] mm/memory_hotplug: Enable runtime update of memmap_on_memory parameter

2023-08-05 Thread Aneesh Kumar K V
On 8/3/23 5:00 PM, Michal Hocko wrote: > On Thu 03-08-23 11:24:08, David Hildenbrand wrote: > [...] >>> would be readable only when the block is offline and it would reallocate >>> vmemmap on the change. Makes sense? Are there any risks? Maybe pfn >>> walkers? >> >> The question is: is it of any

[GIT PULL] Please pull powerpc/linux.git powerpc-6.5-5 tag

2023-08-05 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 6.5: The following changes since commit 106ea7ffd56b0f9454cd4f625474967f12ac4dbd: Revert "powerpc/64s: Remove support for ELFv1 little endian userspace" (2023-07-19 21:28:35 +1000) are

Re: [PATCH] powerpc/mm: Reinstate ARCH_FORCE_MAX_ORDER ranges

2023-08-05 Thread Michael Ellerman
Christophe Leroy writes: > Le 19/05/2023 à 13:38, Michael Ellerman a écrit : >> Commit 1e8fed873e74 ("powerpc: drop ranges for definition of >> ARCH_FORCE_MAX_ORDER") removed the limits on the possible values for >> ARCH_FORCE_MAX_ORDER. >> >> However removing the ranges entirely causes some