Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753520AbbL2QXv (ORCPT ); Tue, 29 Dec 2015 11:23:51 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:32908 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752948AbbL2QXu (ORCPT ); Tue, 29 Dec 2015 11:23:50 -0500 Date: Tue, 29 Dec 2015 17:23:47 +0100 From: Michal Hocko To: Jeremiah Mahler Cc: linux-kernel@vger.kernel.org, Kees Cook , Andy Lutomirski , Will Drewry , Andrew Morton , Ingo Molnar , Tejun Heo Subject: Re: BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894 Message-ID: <20151229162346.GB10321@dhcp22.suse.cz> References: <20151224171253.GA3148@hudson.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151224171253.GA3148@hudson.localdomain> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 23 [CCing Andrew] On Thu 24-12-15 09:12:53, Jeremiah Mahler wrote: > all, > > I have started seeing a "Bad rss-counter" message in the logs with > the latest linux-next 20151222+. > > [ 458.282192] BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894 This is MM_SHMEMPAGES so an "unamapped" shmem memory. One possible reason might be an unitialized zap_details used from unmap_mapping_range during truncate introduced by "mm, oom: introduce oom reaper" from the mmotm tree. There is a fix for this which is still pending http://lkml.kernel.org/r/1450487091-7822-1-git-send-email-sasha.levin%40oracle.com -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/