Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1471913
| From | Al Viro <viro@ZenIV.linux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: 4.8-rc4 spews "BUG: sleeping function called from invalid context at fs/dcache.c:757" |
| Date | 2016-08-29 17:20 +0200 |
| Message-ID | <sbwvT-v8-13@gated-at.bofh.it> (permalink) |
| References | <sbvTb-8um-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 29, 2016 at 04:35:46PM +0200, Takashi Iwai wrote: > [<ffffffff81260b26>] dput+0x46/0x400 ... which should not be called in atomic contexts > [<ffffffff8124ff67>] follow_down_one+0x27/0x60 ... and neither should this > [<ffffffff81344da2>] autofs4_mount_busy+0x32/0x110 ... nor that (for fsck sake, there's full-blown path_put() in it!) > [<ffffffff81345081>] should_expire+0x51/0x3d0 ... so that would better not be called in atomic either (incidentally, it also calls dput() directly) > [<ffffffff81345790>] autofs4_expire_indirect+0x190/0x2d0 ... while here it is called under sbi->fs_lock. > I don't remember of a similar stack trace in the past, so if any, it > can be a regression in 4.8 kernel. But I cannot say it in 100%, as > this looks spontaneous, nor I would be able to reproduce it at the > next boot... It's old; the race is narrow, but it's been there for quite a while, by the look of it.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
4.8-rc4 spews "BUG: sleeping function called from invalid context at fs/dcache.c:757" Takashi Iwai <tiwai@suse.de> - 2016-08-29 16:40 +0200
Re: 4.8-rc4 spews "BUG: sleeping function called from invalid context at fs/dcache.c:757" Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-29 17:20 +0200
Re: 4.8-rc4 spews "BUG: sleeping function called from invalid context at fs/dcache.c:757" Ian Kent <raven@themaw.net> - 2016-08-30 03:40 +0200
Re: 4.8-rc4 spews "BUG: sleeping function called from invalid context at fs/dcache.c:757" Ian Kent <raven@themaw.net> - 2016-08-30 04:00 +0200
csiph-web