Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Greg KH
On Thu, Jun 05, 2014 at 01:37:42AM +0200, Andre Tomt wrote: > On 04. juni 2014 20:27, Greg KH wrote: > > Hi all, > > > > Dave, I saw you mention that you were seeing the "Bad rss-counter" line > > on 3.15-rc1, but I couldn't find any follow-up on this to see if anyone > > figured it out, or did it

Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Andre Tomt
On 04. juni 2014 20:27, Greg KH wrote: > Hi all, > > Dave, I saw you mention that you were seeing the "Bad rss-counter" line > on 3.15-rc1, but I couldn't find any follow-up on this to see if anyone > figured it out, or did it just "magically" go away? > > I ask as Brandon is seeing this same mes

Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Dave Jones
On Wed, Jun 04, 2014 at 12:35:45PM -0700, Brandon Philips wrote: > On Wed, Jun 4, 2014 at 12:12 PM, Dave Jones wrote: > > Brandon, what kind of workload is that machine doing ? I wonder if I can > > add something to trinity to make it provoke it. > > A really boring database workload (fsync(

Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Brandon Philips
On Wed, Jun 4, 2014 at 12:12 PM, Dave Jones wrote: > Brandon, what kind of workload is that machine doing ? I wonder if I can > add something to trinity to make it provoke it. A really boring database workload (fsync() ~50ms) with a sloowww block device with btrfs. There are occasional CPU spikes

Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Dave Jones
On Wed, Jun 04, 2014 at 11:27:39AM -0700, Greg KH wrote: > Hi all, > > Dave, I saw you mention that you were seeing the "Bad rss-counter" line > on 3.15-rc1, but I couldn't find any follow-up on this to see if anyone > figured it out, or did it just "magically" go away? > > I ask as Brando

Re: Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Dennis Mungai
Hello Greg, do_exit() and exec_mmap() call sync_mm_rss() before mm_release() does put_user(clear_child_tid) which can update task->rss_stat and thus make mm->rss_stat inconsistent. This triggers the "BUG:" printk in check_mm(). Let's fix this bug in the safest way, and optimize/cleanup this later

Bad rss-counter is back on 3.14-stable

2014-06-04 Thread Greg KH
Hi all, Dave, I saw you mention that you were seeing the "Bad rss-counter" line on 3.15-rc1, but I couldn't find any follow-up on this to see if anyone figured it out, or did it just "magically" go away? I ask as Brandon is seeing this same message a lot on a 3.14.4 kernel, causing system crashes