Hyeonggon Yoo
f2421a16f4
mm/debug: use %pGt to display page_type in dump_page()
Some page flags are stored in page_type rather than ->flags field.
Use newly introduced page type %pGt in dump_page().
Below are some examples:
page:00000000da7184dd refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101cb3
flags: 0x2ffff0000000000(node=0|zone=2|lastcpupid=0xffff)
page_type: 0xffffffff()
raw: 02ffff0000000000 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: newly allocated page
page:00000000da7184dd refcount:0 mapcount:-128 mapping:0000000000000000 index:0x0 pfn:0x101cb3
flags: 0x2ffff0000000000(node=0|zone=2|lastcpupid=0xffff)
page_type: 0xffffff7f(buddy)
raw: 02ffff0000000000 ffff88813fff8e80 ffff88813fff8e80 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffff7f 0000000000000000
page dumped because: freed page
page:0000000042202316 refcount:3 mapcount:2 mapping:0000000000000000 index:0x7f634722a pfn:0x11994e
memcg:ffff888100135000
anon flags: 0x2ffff0000080024(uptodate|active|swapbacked|node=0|zone=2|lastcpupid=0xffff)
page_type: 0x1()
raw: 02ffff0000080024 0000000000000000 dead000000000122 ffff8881193398f1
raw: 00000007f634722a 0000000000000000 0000000300000001 ffff888100135000
page dumped because: user-mapped page
Link: https://lkml.kernel.org/r/20230130042514.2418-4-42.hyeyoo@gmail.com
Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-03-28 16:20:09 -07:00
..
2023-03-07 17:04:55 -08:00
2023-03-02 21:54:22 -08:00
2023-03-28 15:24:32 -07:00
2023-02-20 12:46:16 -08:00
2022-11-30 15:59:06 -08:00
2022-08-02 12:34:03 -04:00
2022-08-28 14:02:45 -07:00
2022-09-11 20:25:50 -07:00
2023-03-28 16:20:06 -07:00
2023-02-02 22:33:24 -08:00
2022-03-22 15:57:09 -07:00
2023-02-23 17:09:35 -08:00
2023-02-02 22:33:11 -08:00
2023-03-28 16:20:09 -07:00
2022-03-22 15:57:11 -07:00
2023-01-18 17:12:57 -08:00
2022-11-22 18:50:44 -08:00
2023-02-23 17:09:35 -08:00
2023-02-20 12:46:17 -08:00
2022-09-26 12:14:34 -07:00
2022-12-15 16:37:48 -08:00
2022-11-08 17:37:15 -08:00
2023-02-20 12:46:17 -08:00
2022-10-12 18:51:51 -07:00
2023-01-18 17:12:39 -08:00
2023-03-07 17:04:53 -08:00
2023-02-13 15:54:27 -08:00
2023-03-28 16:20:06 -07:00
2022-08-08 18:06:43 -07:00
2023-02-20 12:46:17 -08:00
2022-10-03 14:03:05 -07:00
2022-09-26 19:46:16 -07:00
2023-03-28 16:20:09 -07:00
2022-06-27 12:22:31 +01:00
2023-02-02 22:33:23 -08:00
2023-02-02 22:33:26 -08:00
2023-03-28 16:20:06 -07:00
2023-02-16 20:43:49 -08:00
2023-03-28 16:20:08 -07:00
2022-06-16 19:48:31 -07:00
2022-11-11 11:44:46 -08:00
2023-02-23 17:09:35 -08:00
2022-10-03 14:03:36 -07:00
2023-02-02 22:32:54 -08:00
2023-02-27 09:34:53 -08:00
2023-02-23 17:09:35 -08:00
2023-01-18 17:12:37 -08:00
2023-02-20 12:46:18 -08:00
2023-02-27 17:00:14 -08:00
2023-02-09 16:51:40 -08:00
2023-03-28 16:20:07 -07:00
2023-02-20 12:46:17 -08:00
2022-11-30 15:58:41 -08:00
2023-02-09 16:51:46 -08:00
2023-02-20 12:46:17 -08:00
2023-03-07 17:04:54 -08:00
2023-03-07 17:04:53 -08:00
2023-02-09 16:51:41 -08:00
2022-11-08 17:37:17 -08:00
2022-10-03 14:02:43 -07:00
2023-03-23 17:18:32 -07:00
2022-12-11 18:12:21 -08:00
2023-02-02 22:32:54 -08:00
2022-09-26 19:46:09 -07:00
2023-03-23 17:18:33 -07:00
2023-03-28 16:20:07 -07:00
2022-09-26 19:46:25 -07:00
2023-02-09 16:51:39 -08:00
2023-02-02 22:32:54 -08:00
2023-03-28 16:20:06 -07:00
2022-09-11 20:26:01 -07:00
2023-02-02 22:33:22 -08:00
2023-01-18 17:12:52 -08:00
2023-02-23 17:09:35 -08:00
2022-10-28 13:37:22 -07:00
2023-02-16 20:43:49 -08:00
2023-01-18 17:12:50 -08:00
2023-02-02 22:33:11 -08:00
2023-01-18 17:12:39 -08:00
2023-02-02 22:33:34 -08:00
2023-01-18 17:12:39 -08:00
2023-02-16 20:43:55 -08:00
2022-03-08 09:30:46 -05:00
2023-02-16 20:43:56 -08:00
2022-05-13 07:20:05 -07:00
2022-11-25 13:01:55 -05:00
2022-09-03 10:13:13 -07:00
2023-02-02 22:33:21 -08:00
2023-02-27 17:00:14 -08:00
2022-10-03 14:03:05 -07:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2023-02-09 15:56:51 -08:00
2022-10-03 14:03:07 -07:00
2023-01-18 17:12:55 -08:00
2023-03-24 10:12:14 -07:00
2023-02-16 20:43:56 -08:00
2022-09-29 11:30:55 +02:00
2023-02-23 17:09:35 -08:00
2022-12-11 18:12:12 -08:00
2023-02-02 22:33:29 -08:00
2022-10-03 14:03:36 -07:00
2022-10-03 14:02:46 -07:00
2023-02-02 22:33:24 -08:00
2023-02-23 17:09:35 -08:00
2023-02-02 22:33:33 -08:00
2023-02-23 17:09:35 -08:00
2022-12-11 18:12:13 -08:00
2022-11-30 15:58:45 -08:00
2023-03-28 16:20:07 -07:00
2023-02-13 15:54:33 -08:00
2023-03-23 17:18:31 -07:00
2023-03-28 16:20:07 -07:00
2022-11-30 15:58:41 -08:00
2023-02-02 22:33:24 -08:00
2023-01-18 17:12:57 -08:00
2022-12-11 18:12:10 -08:00
2022-12-11 18:12:10 -08:00
2023-02-02 22:33:23 -08:00
2023-03-28 16:20:07 -07:00