All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Baolin Wang <baolin.wang@linux.alibaba.com>,
	linux-mm@kvack.org
Subject: page type is 3, passed migratetype is 1 (nr=512)
Date: Mon, 27 May 2024 01:58:25 -0700	[thread overview]
Message-ID: <ZlRLMcB80keLDL2o@infradead.org> (raw)

Hi all,

when running xfstests on nfs against a local server I see warnings like
the ones above, which appear to have been added in commit
e0932b6c1f94 (mm: page_alloc: consolidate free page accounting").

Here is a typical backtrace:

generic/154 109s ... [  617.027401] run fstests generic/154 at
2024-05-27 08:53:22
[  628.242905] ------------[ cut here ]------------
[  628.243233] page type is 3, passed migratetype is 1 (nr=512)
[  628.243595] WARNING: CPU: 1 PID: 3608 at mm/page_alloc.c:645 expand+0x1c5/0x1f0
[  628.244017] Modules linked in: crc32_pclmul i2c_piix4
[  628.244321] CPU: 1 PID: 3608 Comm: nfsd Not tainted 6.10.0-rc1+ #2435
[  628.244711] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  628.245270] RIP: 0010:expand+0x1c5/0x1f0
[  628.245514] Code: 05 16 70 bf 02 01 e8 ca fc ff ff 8b 54 24 34 44 89 e1 48 c7 c7 80 a2 28 83 48 89 c6 b8 01 00 00 00 d3 e0 83
[  628.246610] RSP: 0018:ffffc9000151f6f8 EFLAGS: 00010082
[  628.246920] RAX: 0000000000000000 RBX: ffffffff83fa9480 RCX: 0000000000000000
[  628.247337] RDX: 0000000000000003 RSI: 0000000000000027 RDI: 00000000ffffffff
[  628.247760] RBP: 0000000000174200 R08: 00000000fffeffff R09: 0000000000000001
[  628.248175] R10: 0000000000000000 R11: ffffffff83676200 R12: 0000000000000009
[  628.248603] R13: 0000000000000200 R14: 0000000000000001 R15: ffffea0005d08000
[  628.249022] FS:  0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
[  628.249499] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  628.249841] CR2: 00005643a0160004 CR3: 000000000365a001 CR4: 0000000000770ef0
[  628.250265] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  628.250697] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
[  628.251121] PKRU: 55555554
[  628.251285] Call Trace:
[  628.251436]  <TASK>
[  628.251572]  ? __warn+0x7b/0x120
[  628.251769]  ? expand+0x1c5/0x1f0
[  628.251969]  ? report_bug+0x191/0x1c0
[  628.252202]  ? handle_bug+0x3c/0x80
[  628.252413]  ? exc_invalid_op+0x17/0x70
[  628.252646]  ? asm_exc_invalid_op+0x1a/0x20
[  628.252899]  ? expand+0x1c5/0x1f0
[  628.253100]  ? expand+0x1c5/0x1f0
[  628.253299]  ? __free_one_page+0x5e4/0x750
[  628.253549]  get_page_from_freelist+0x305/0xf00
[  628.253822]  __alloc_pages_slowpath.constprop.0+0x42b/0xca0
[  628.254148]  __alloc_pages_noprof+0x2b9/0x2e0
[  628.254408]  __folio_alloc_noprof+0x10/0xa0
[  628.254661]  __filemap_get_folio+0x16b/0x370
[  628.254915]  iomap_write_begin+0x496/0x680
[  628.255159]  iomap_file_buffered_write+0x17f/0x440
[  628.255441]  ? __break_lease+0x469/0x710
[  628.255682]  xfs_file_buffered_write+0x7e/0x2a0
[  628.255952]  do_iter_readv_writev+0x107/0x200
[  628.256213]  vfs_iter_write+0x9e/0x240
[  628.256436]  nfsd_vfs_write+0x188/0x5a0
[  628.256673]  nfsd4_write+0x133/0x1c0
[  628.256888]  nfsd4_proc_compound+0x2e3/0x5f0
[  628.257144]  nfsd_dispatch+0xc8/0x210
[  628.257363]  svc_process_common+0x4cf/0x700
[  628.257619]  ? __pfx_nfsd_dispatch+0x10/0x10
[  628.257873]  svc_process+0x13e/0x190
[  628.258086]  svc_recv+0x838/0xa00
[  628.258286]  ? __pfx_nfsd+0x10/0x10
[  628.258500]  nfsd+0x82/0xf0
[  628.258668]  kthread+0xd9/0x110
[  628.258900]  ? __pfx_kthread+0x10/0x10
[  628.259192]  ret_from_fork+0x2c/0x50
[  628.259477]  ? __pfx_kthread+0x10/0x10
[  628.259763]  ret_from_fork_asm+0x1a/0x30
[  628.260070]  </TASK>
[  628.260244] ---[ end trace 0000000000000000 ]---


             reply	other threads:[~2024-05-27  8:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27  8:58 Christoph Hellwig [this message]
2024-05-27 13:14 ` page type is 3, passed migratetype is 1 (nr=512) Christoph Hellwig
2024-05-28 16:47   ` Johannes Weiner
2024-05-29  5:43     ` Christoph Hellwig
2024-05-29 16:28     ` Johannes Weiner
2024-05-30  1:04       ` Johannes Weiner
2024-05-30  1:51         ` Zi Yan
2024-05-30  3:22           ` Johannes Weiner
2024-05-30  4:06         ` [PATCH] mm: page_alloc: fix highatomic typing in multi-block buddies kernel test robot
2024-05-30 11:42         ` page type is 3, passed migratetype is 1 (nr=512) Johannes Weiner
2024-05-30 14:34           ` Zi Yan
2024-05-31 13:43           ` Vlastimil Babka
2024-05-31  5:41         ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZlRLMcB80keLDL2o@infradead.org \
    --to=hch@infradead.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.