Re: kernel BUG at mm/vmscan.c:1114
From: Xiaotian Feng
Date: Wed Aug 03 2011 - 02:46:02 EST
On Tue, Aug 2, 2011 at 10:24 PM, Mel Gorman <mgorman@xxxxxxx> wrote:
> On Tue, Aug 02, 2011 at 03:09:57PM +0800, Xiaotian Feng wrote:
>> Hi,
>> Â ÂI'm hitting the kernel BUG at mm/vmscan.c:1114 twice, each time I
>> was trying to build my kernel. The photo of crash screen and my config
>> is attached. Thanks.
>> Regards
>> Xiaotian
>
> I am obviously blind because in 3.0, I cannot see what BUG is at
> mm/vmscan.c:1114 :(. I see
>
> 1109: Â Â Â Â Â Â Â Â Â /*
> 1110: Â Â Â Â Â Â Â Â Â Â* If we don't have enough swap space, reclaiming of
> 1111: Â Â Â Â Â Â Â Â Â Â* anon page which don't already have a swap slot is
> 1112: Â Â Â Â Â Â Â Â Â Â* pointless.
> 1113: Â Â Â Â Â Â Â Â Â Â*/
> 1114: Â Â Â Â Â Â Â Â Â if (nr_swap_pages <= 0 && PageAnon(cursor_page) &&
> 1115: Â Â Â Â Â Â Â Â Â Â Â !PageSwapCache(cursor_page))
> 1116: Â Â Â Â Â Â Â Â Â Â Â Â Â break;
> 1117:
> 1118: Â Â Â Â Â Â Â Â Â if (__isolate_lru_page(cursor_page, mode, file) == 0) {
> 1119: Â Â Â Â Â Â Â Â Â Â Â Â Â list_move(&cursor_page->lru, dst);
> 1120: Â Â Â Â Â Â Â Â Â Â Â Â Â mem_cgroup_del_lru(cursor_page);
>
> Is this 3.0 vanilla or are there some other patches applied?
No, I'm using fresh cloned upstream kernel, without any changes. Thanks.
>
> --
> Mel Gorman
> SUSE Labs
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/