Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423818

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [next-20160615] kernel BUG at mm/rmap.c:1251!
Date 2016-06-16 11:00 +0200
Message-ID <rKBjA-66n-9@gated-at.bofh.it> (permalink)
References <rKB9T-62Y-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 16-06-16 17:46:57, Sergey Senozhatsky wrote:
> Hello,
> 
> [..]
> [  272.687656] vma ffff8800b855a5a0 start 00007f3576d58000 end 00007f3576f66000
>                next ffff8800b977d2c0 prev ffff8800bdfb1860 mm ffff8801315ff200
>                prot 8000000000000025 anon_vma ffff8800b7e583b0 vm_ops           (null)
>                pgoff 7f3576d58 file           (null) private_data           (null)
>                flags: 0x100073(read|write|mayread|maywrite|mayexec|account)
> [  272.691793] ------------[ cut here ]------------
> [  272.692820] kernel BUG at mm/rmap.c:1251!

Is this?
page_add_new_anon_rmap:
	VM_BUG_ON_VMA(address < vma->vm_start || address >= vma->vm_end, vma)
[...]
> [  272.727842] BUG: sleeping function called from invalid context at include/linux/sched.h:2960

If yes then I am not sure we can do much about the this part. BUG_ON in
an atomic context is unfortunate but the BUG_ON points out a real bug so
we shouldn't drop it because of the potential atomic context. The above
VM_BUG_ON should definitely be addressed. I thought that Vlastimil has
pointed out some issues with the khugepaged lock inconsistencies which
might lead to issues like this.
-- 
Michal Hocko
SUSE Labs

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[next-20160615] kernel BUG at mm/rmap.c:1251! Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-16 10:50 +0200
  Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Michal Hocko <mhocko@kernel.org> - 2016-06-16 11:00 +0200
    Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-16 11:30 +0200
      Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Michal Hocko <mhocko@kernel.org> - 2016-06-16 11:50 +0200
        Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-16 12:00 +0200
          Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Minchan Kim <minchan@kernel.org> - 2016-06-16 12:20 +0200
            Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-16 12:30 +0200
            Re: [next-20160615] kernel BUG at mm/rmap.c:1251! Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-17 10:20 +0200

csiph-web