Function report |
Source Code:mm\page_owner.c |
Create Date:2022-07-28 16:23:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__dump_page_owner
Proto:void __dump_page_owner(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
404 | page_ext = lookup_page_ext(page) |
413 | pr_alert("There is not page extension available.\n") |
414 | Return |
417 | page_owner = get_page_owner(page_ext) |
419 | mt = gfpflags_to_migratetype(gfp_mask) |
422 | pr_alert("page_owner info is not present (never set?)\n") |
423 | Return |
426 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then pr_alert("page_owner tracks the page as allocated\n") |
428 | Else pr_alert("page_owner tracks the page as freed\n") |
431 | pr_alert("page last allocated via order %u, migratetype %s, gfp_mask %#x(%pGg)\n", order, migratetype_names[mt], gfp_mask, & gfp_mask) |
435 | If Not handle Then |
436 | pr_alert("page_owner allocation stack trace missing\n") |
437 | Else |
442 | handle = READ_ONCE(free_handle) |
443 | If Not handle Then |
444 | pr_alert("page_owner free stack trace missing\n") |
445 | Else |
447 | pr_alert("page last free stack trace:\n") |
451 | If last_migrate_reason != -1 Then pr_alert("page has been migrated, last migrate reason: %s\n", migrate_reason_names[last_migrate_reason]) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |