Re: [BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-26 Thread Hugh Dickins
On Tue, 26 Apr 2016, Shi, Yang wrote: > On 4/21/2016 5:38 PM, Shi, Yang wrote: > > Hi folks, > > > > I did the below test with huge tmpfs on linux-next-20160420: > > > > # mount -t tmpfs huge=1 tmpfs /mnt > > # cd /mnt > > Then clone linux kernel > > > > Then I got the below bug, such test

Re: [BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-26 Thread Hugh Dickins
On Tue, 26 Apr 2016, Shi, Yang wrote: > On 4/21/2016 5:38 PM, Shi, Yang wrote: > > Hi folks, > > > > I did the below test with huge tmpfs on linux-next-20160420: > > > > # mount -t tmpfs huge=1 tmpfs /mnt > > # cd /mnt > > Then clone linux kernel > > > > Then I got the below bug, such test

Re: [BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-26 Thread Shi, Yang
Did some preliminary investigation on this one. The problem is the cc->freepages list is empty, but cc->nr_freepages > 0, it looks the list and nr_freepages get out-of-sync somewhere. Any hint is appreciated. Thanks, Yang On 4/21/2016 5:38 PM, Shi, Yang wrote: Hi folks, I did the below

Re: [BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-26 Thread Shi, Yang
Did some preliminary investigation on this one. The problem is the cc->freepages list is empty, but cc->nr_freepages > 0, it looks the list and nr_freepages get out-of-sync somewhere. Any hint is appreciated. Thanks, Yang On 4/21/2016 5:38 PM, Shi, Yang wrote: Hi folks, I did the below

[BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-21 Thread Shi, Yang
Hi folks, I did the below test with huge tmpfs on linux-next-20160420: # mount -t tmpfs huge=1 tmpfs /mnt # cd /mnt Then clone linux kernel Then I got the below bug, such test works well on non-huge tmpfs. BUG: unable to handle kernel NULL pointer dereference at (null) IP: []

[BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-21 Thread Shi, Yang
Hi folks, I did the below test with huge tmpfs on linux-next-20160420: # mount -t tmpfs huge=1 tmpfs /mnt # cd /mnt Then clone linux kernel Then I got the below bug, such test works well on non-huge tmpfs. BUG: unable to handle kernel NULL pointer dereference at (null) IP: []