All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruno Goncalves <bgoncalv@redhat.com>
To: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: CKI Project <cki-project@redhat.com>,
	Xiong Zhou <xzhou@redhat.com>,
	Memory Management <mm-qe@redhat.com>,
	Juri Lelli <jlelli@redhat.com>
Subject: kernel-rt: BUG: sleeping function called from invalid context at mm/vmalloc.c:2664
Date: Tue, 14 Sep 2021 15:42:43 +0200	[thread overview]
Message-ID: <CA+QYu4rSCmGt8Do8_qbi1fyHA8CyuL-vhzTfTKfHVOpyVjYH0A@mail.gmail.com> (raw)

Hello,

When testing commit "8a084036f2bc - v5.14.2-rt21" from
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
during "cifsv3.11" test part of xfstests [1] we hit the following
issue:

[13099.772703] BUG: sleeping function called from invalid context at
mm/vmalloc.c:2664
[13099.772709] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid:
613586, name: cifsd
[13099.772712] 1 lock held by cifsd/613586:
[13099.772715]  #0: ffffffffc0eb76d8 (&GlobalMid_Lock){+.+.}-{2:2},
at: cifs_mid_q_entry_release+0x15/0x110 [cifs]
[13099.772816] CPU: 7 PID: 613586 Comm: cifsd Not tainted 5.14.2-rt21 #1
[13099.772820] Hardware name: AMD Pike/Pike, BIOS RPK1506A 09/03/2014
[13099.772822] Call Trace:
[13099.772828]  dump_stack_lvl+0x57/0x72
[13099.772838]  ___might_sleep.cold+0xb6/0xc6
[13099.772845]  vfree+0x3f/0x50
[13099.772852]  put_task_stack+0xcf/0x140
[13099.772858]  __put_task_struct+0x46/0x180
[13099.772862]  cifs_mid_q_entry_release+0xce/0x110 [cifs]
[13099.772944]  cifs_demultiplex_thread+0x797/0xcb0 [cifs]
[13099.773031]  ? mutex_is_locked+0x1/0x20
[13099.773042]  ? _raw_spin_unlock_irqrestore+0x37/0x40
[13099.773050]  ? cifs_handle_standard+0x190/0x190 [cifs]
[13099.773121]  kthread+0x15c/0x180
[13099.773126]  ? set_kthread_struct+0x40/0x40
[13099.773134]  ret_from_fork+0x22/0x30


So far we've hit this problem just once, more logs can be found at [2].


[1] https://gitlab.com/cki-project/kernel-tests/-/tree/main/filesystems/xfs/xfstests
[2] https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2021/09/13/369543188/build_x86_64_redhat%3A1584042034/tests/xfstests_cifsv3_11/

Thank you,
Bruno


                 reply	other threads:[~2021-09-14 13:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CA+QYu4rSCmGt8Do8_qbi1fyHA8CyuL-vhzTfTKfHVOpyVjYH0A@mail.gmail.com \
    --to=bgoncalv@redhat.com \
    --cc=cki-project@redhat.com \
    --cc=jlelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mm-qe@redhat.com \
    --cc=xzhou@redhat.com \
    /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.