Page allocation failures of order 4 are seen in CIFS codepath.
Issue
- Seeing a lot of page allocation failures of order 4.
- The call trace is similar to the one mentioned below.
kernel: kworker/33:0: page allocation failure: order:4, mode:0xc0d0
kernel: Workqueue: cifsoplockd cifs_oplock_break [cifs]
kernel: Call Trace:
kernel: [<ffffffffbd5865c9>] dump_stack+0x19/0x1b
kernel: [<ffffffffbcfc4c20>] warn_alloc_failed+0x110/0x180
kernel: [<ffffffffbcfc97bf>] __alloc_pages_nodemask+0x9df/0xbe0
kernel: [<ffffffffbd0193d8>] alloc_pages_current+0x98/0x110
kernel: [<ffffffffbcfe6028>] kmalloc_order+0x18/0x40
kernel: [<ffffffffbd024da6>] kmalloc_order_trace+0x26/0xa0
kernel: [<ffffffffbd028d31>] __kmalloc+0x211/0x230
kernel: [<ffffffffc0c3bb5d>] smb2_push_mandatory_locks+0xbd/0x3e0 [cifs]
kernel: [<ffffffffbcec7045>] ? wake_up_bit+0x25/0x30
kernel: [<ffffffffc0c1ac97>] ? cifs_revalidate_mapping+0x47/0xa0 [cifs]
kernel: [<ffffffffc0c11f6d>] cifs_oplock_break+0x11d/0x3b0 [cifs]
kernel: [<ffffffffbcebdfbf>] process_one_work+0x17f/0x440
kernel: [<ffffffffbcebf0d6>] worker_thread+0x126/0x3c0
kernel: [<ffffffffbcebefb0>] ? manage_workers.isra.26+0x2a0/0x2a0
kernel: [<ffffffffbcec5f91>] kthread+0xd1/0xe0
kernel: [<ffffffffbcec5ec0>] ? insert_kthread_work+0x40/0x40
kernel: [<ffffffffbd599ddd>] ret_from_fork_nospec_begin+0x7/0x21
kernel: [<ffffffffbcec5ec0>] ? insert_kthread_work+0x40/0x40
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- CIFS share
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.