History

Merge tag 'mm-hotfixes-stable-2024-04-26-13-30' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull misc fixes from Andrew Morton: "11 hotfixes. 8 are cc:stable and the remaining 3 (nice ratio!) address post-6.8 issues or aren't considered suitable for backporting. All except one of these are for MM. I see no particular theme - it's singletons all over" * tag 'mm-hotfixes-stable-2024-04-26-13-30' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: mm/hugetlb: fix DEBUG_LOCKS_WARN_ON(1) when dissolve_free_hugetlb_folio() selftests: mm: protection_keys: save/restore nr_hugepages value from launch script stackdepot: respect __GFP_NOLOCKDEP allocation flag hugetlb: check for anon_vma prior to folio allocation mm: zswap: fix shrinker NULL crash with cgroup_disable=memory mm: turn folio_test_hugetlb into a PageType mm: support page_mapcount() on page_has_type() pages mm: create FOLIO_FLAG_FALSE and FOLIO_TYPE_OPS macros mm/hugetlb: fix missing hugetlb_lock for resv uncharge selftests: mm: fix unused and uninitialized variable warning selftests/harness: remove use of LINE_MAX

Linus Torvalds committed 2 years ago

Commit e6ebf012 parents 4630932 52ccdde13 files · +137 −152Browse files

Showing the changes to kernel (1 of 13 files). Show all

Unified · Split

kernel/vmcore_info.c+2−3
@@ -205,11 +205,10 @@ static int __init crash_save_vmcoreinfo_init(void) · 204 unmodified lines
205205 VMCOREINFO_NUMBER(PG_head_mask);
206206 #define PAGE_BUDDY_MAPCOUNT_VALUE (~PG_buddy)
207207 VMCOREINFO_NUMBER(PAGE_BUDDY_MAPCOUNT_VALUE);
208−#ifdef CONFIG_HUGETLB_PAGE
209− VMCOREINFO_NUMBER(PG_hugetlb);
208+#define PAGE_HUGETLB_MAPCOUNT_VALUE (~PG_hugetlb)
209+ VMCOREINFO_NUMBER(PAGE_HUGETLB_MAPCOUNT_VALUE);
210210 #define PAGE_OFFLINE_MAPCOUNT_VALUE (~PG_offline)
211211 VMCOREINFO_NUMBER(PAGE_OFFLINE_MAPCOUNT_VALUE);
212−#endif
213212
214213 #ifdef CONFIG_KALLSYMS
215214 VMCOREINFO_SYMBOL(kallsyms_names);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t