Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit c85a18d

Browse files
committed
Merge branch 'android15-6.6' into android15-6.6-lts
Catch up on some more commits that landed in android15-6.6. Changes included here are: * a9ad33c ANDROID: Update the ABI with dump_tasks * 9c79e4c ANDROID: mm: export dump_tasks symbol. * f67eff4 ANDROID: virt: gunyah: Sync on last folio in reclaim Change-Id: Iad0c2dcac1b9a94de5c3a023762c4415f6a15c72 Signed-off-by: Greg Kroah-Hartman <[email protected]>
2 parents 1c32c67 + a9ad33c commit c85a18d

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

android/abi_gki_aarch64.stg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314642,6 +314642,11 @@ function {
314642314642
parameter_id: 0x3e10b518
314643314643
parameter_id: 0x0bb0c019
314644314644
}
314645+
function {
314646+
id: 0x1f821b4c
314647+
return_type_id: 0x48b5725f
314648+
parameter_id: 0x3c692b7e
314649+
}
314645314650
function {
314646314651
id: 0x1f835b6f
314647314652
return_type_id: 0x48b5725f
@@ -384434,6 +384439,15 @@ elf_symbol {
384434384439
type_id: 0x10985193
384435384440
full_name: "dump_stack"
384436384441
}
384442+
elf_symbol {
384443+
id: 0x652fbf96
384444+
name: "dump_tasks"
384445+
is_defined: true
384446+
symbol_type: FUNCTION
384447+
crc: 0x4308a91f
384448+
type_id: 0x1f821b4c
384449+
full_name: "dump_tasks"
384450+
}
384437384451
elf_symbol {
384438384452
id: 0xe5d449a3
384439384453
name: "dup_iter"
@@ -431304,6 +431318,7 @@ interface {
431304431318
symbol_id: 0xded28924
431305431319
symbol_id: 0xcb93fb69
431306431320
symbol_id: 0xe3421d56
431321+
symbol_id: 0x652fbf96
431307431322
symbol_id: 0xe5d449a3
431308431323
symbol_id: 0xda364c85
431309431324
symbol_id: 0x68e0756b

android/abi_gki_aarch64_pixel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@
812812
drop_reasons_unregister_subsys
813813
dump_backtrace
814814
dump_stack
815+
dump_tasks
815816
dw_handle_msi_irq
816817
dw_pcie_find_capability
817818
dw_pcie_host_init

drivers/virt/gunyah/vm_mgr_mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ int gunyah_vm_reclaim_range(struct gunyah_vm *ghvm, u64 gfn, u64 nr)
329329
mt_for_each(&ghvm->mm, entry, next, gfn + nr) {
330330
folio = xa_untag_pointer(entry);
331331
g = next;
332-
sync = !!mt_find_after(&ghvm->mm, &g, gfn + nr);
332+
sync = !mt_find_after(&ghvm->mm, &g, gfn + nr);
333333

334334
g = next - folio_nr_pages(folio);
335335
folio_get(folio);

mm/oom_kill.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ static int dump_task(struct task_struct *p, void *arg)
423423
* State information includes task's pid, uid, tgid, vm size, rss,
424424
* pgtables_bytes, swapents, oom_score_adj value, and name.
425425
*/
426-
static void dump_tasks(struct oom_control *oc)
426+
void dump_tasks(struct oom_control *oc)
427427
{
428428
pr_info("Tasks state (memory values in pages):\n");
429429
pr_info("[ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name\n");
@@ -439,6 +439,7 @@ static void dump_tasks(struct oom_control *oc)
439439
rcu_read_unlock();
440440
}
441441
}
442+
EXPORT_SYMBOL_GPL(dump_tasks);
442443

443444
static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim)
444445
{

0 commit comments

Comments
 (0)