Re: [PATCH 1/2] vmcore: allow alternate dump capturing methods to export vmcore without is_kdump_kernel()

2023-09-02 Thread Baoquan He
Hi Hari, On 09/02/23 at 12:34am, Hari Bathini wrote: > Currently, is_kdump_kernel() returns true when elfcorehdr_addr is set. > While elfcorehdr_addr is set for kexec based kernel dump mechanism, > alternate dump capturing methods like fadump [1] also set it to export > the vmcore. is_kdump_kernel

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-02 Thread Nicolas Schier
On Thu, Aug 31, 2023 at 12:13:39PM -0700 Kees Cook wrote: > Currently the Kconfig fragments in kernel/configs and arch/*/configs > that aren't used internally aren't discoverable through "make help", > which consists of hard-coded lists of config fragments. Instead, list > all the fragment targets

[powerpc:merge] BUILD SUCCESS 0ad6bbfc7dab179bb3de79190140acec2862934d

2023-09-02 Thread kernel test robot
been built successfully. More configs may be tested in the coming days. tested configs: alpha allnoconfig gcc alphaallyesconfig gcc alpha defconfig gcc alpharandconfig-r003-20230902 g

Re: [PATCH gmem FIXUP] mm, compaction: make testing mapping_unmovable() safe

2023-09-02 Thread Matthew Wilcox
On Fri, Sep 01, 2023 at 10:20:26AM +0200, Vlastimil Babka wrote: > As Kirill pointed out, mapping can be removed under us due to > truncation. Test it under folio lock as already done for the async > compaction / dirty folio case. To prevent locking every folio with > mapping to do the test, do it

[PATCH] powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()

2023-09-02 Thread Christophe Leroy
Commit 45201c879469 ("powerpc/nohash: Remove hash related code from nohash headers.") replaced: if ((pte_val(*ptep) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0) return 0; By: if (pte_young(*ptep)) return 0; But it should be: if (!pte_young(*ptep)) return 0; Fix it.