Pull misc fixes from Andrew Morton: "21 hotfixes. 8 are cc:stable and the remainder address post-6.13 issues. 13 are for MM and 8 are for non-MM. All are singletons, please see the changelogs for details" * tag 'mm-hotfixes-stable-2025-02-01-03-56' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (21 commits) MAINTAINERS: include linux-mm for xarray maintenance revert "xarray: port tests to kunit" MAINTAINERS: add lib/test_xarray.c mailmap, MAINTAINERS, docs: update Carlos's email address mm/hugetlb: fix hugepage allocation for interleaved memory nodes mm: gup: fix infinite loop within __get_longterm_locked mm, swap: fix reclaim offset calculation error during allocation .mailmap: update email address for Christopher Obbard kfence: skip __GFP_THISNODE allocations on NUMA systems nilfs2: fix possible int overflows in nilfs_fiemap() mm: compaction: use the proper flag to determine watermarks kernel: be more careful about dup_mmap() failures and uprobe registering mm/fake-numa: handle cases with no SRAT info mm: kmemleak: fix upper boundary check for physical address objects mailmap: add an entry for Hamza Mahfooz MAINTAINERS: mailmap: update Yosry Ahmed's email address scripts/gdb: fix aarch64 userspace detection in get_current_task mm/vmscan: accumulate nr_demoted for accurate demotion statistics ocfs2: fix incorrect CPU endianness conversion causing mount failure mm/zsmalloc: add __maybe_unused attribute for is_first_zpdesc() ...
Showing the changes to scripts (1 of 34 files). Show all
Unified · Split
| @@ -167,7 +167,7 @@ def get_current_task(cpu): · 166 unmodified lines | ||
| 167 | 167 | var_ptr = gdb.parse_and_eval("&pcpu_hot.current_task") |
| 168 | 168 | return per_cpu(var_ptr, cpu).dereference() |
| 169 | 169 | elif utils.is_target_arch("aarch64"): |
| 170 | − current_task_addr = gdb.parse_and_eval("$SP_EL0") | |
| 170 | + current_task_addr = gdb.parse_and_eval("(unsigned long)$SP_EL0") | |
| 171 | 171 | if (current_task_addr >> 63) != 0: |
| 172 | 172 | current_task = current_task_addr.cast(task_ptr_type) |
| 173 | 173 | return current_task.dereference() |