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


Groups > linux.kernel > #1610379

[RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object.

From Yisheng Xie <xieyisheng1@huawei.com>
Newsgroups linux.kernel
Subject [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object.
Date 2017-03-28 09:30 +0200
Message-ID <tpTJL-4au-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, all,

We had backport the no-lru migration to linux-4.1, meanwhile change the
ZS_MAX_ZSPAGE_ORDER to 3. Then we met a BUG_ON(!page[1]).

It rarely happen, and presently, what I get is:
[6823.316528s]obj=a160701f, obj_idx=15, class{size:2176,objs_per_zspage:15,pages_per_zspage:8}
[...]
[6823.316619s]BUG: failure at /home/ethan/kernel/linux-4.1/mm/zsmalloc.c:1458/zs_map_object()! ----> BUG_ON(!page[1])

It seems that we have allocated an object from a ZS_FULL group?
(Actually, I do not get the inuse number of this zspage, which I am trying to.)
And presently, I can not find why it happened. Any idea about it?

Any comment is more than welcome!

Thanks
Yisheng Xie

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


Thread

[RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object. Yisheng Xie <xieyisheng1@huawei.com> - 2017-03-28 09:30 +0200
  Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object. Minchan Kim <minchan@kernel.org> - 2017-03-29 02:30 +0200
    Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object. Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-03-29 08:50 +0200
      Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object. Yisheng Xie <xieyisheng1@huawei.com> - 2017-03-29 10:00 +0200
    Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object. Yisheng Xie <xieyisheng1@huawei.com> - 2017-03-29 10:00 +0200

csiph-web