Re: [PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-04 Thread Konstantin Khlebnikov
On Sat, Apr 4, 2015 at 4:35 AM, Andrew Morton wrote: > On Sat, 4 Apr 2015 03:47:12 +0300 Konstantin Khlebnikov > wrote: > >> On Sat, Apr 4, 2015 at 1:10 AM, Andrew Morton >> wrote: >> > On Fri, 03 Apr 2015 20:18:18 +0300 Konstantin Khlebnikov >> > wrote: >> > >> >> A lot of filesystems use g

Re: [PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-03 Thread Andrew Morton
On Sat, 4 Apr 2015 03:47:12 +0300 Konstantin Khlebnikov wrote: > On Sat, Apr 4, 2015 at 1:10 AM, Andrew Morton > wrote: > > On Fri, 03 Apr 2015 20:18:18 +0300 Konstantin Khlebnikov > > wrote: > > > >> A lot of filesystems use generic_file_mmap() and filemap_fault(), > >> f_op->mmap and vm_op

Re: [PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-03 Thread Konstantin Khlebnikov
On Sat, Apr 4, 2015 at 1:10 AM, Andrew Morton wrote: > On Fri, 03 Apr 2015 20:18:18 +0300 Konstantin Khlebnikov > wrote: > >> A lot of filesystems use generic_file_mmap() and filemap_fault(), >> f_op->mmap and vm_ops->fault aren't enough to identify filesystem. >> >> This prints file name, vm_op

Re: [PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-03 Thread Andrew Morton
On Fri, 03 Apr 2015 20:18:18 +0300 Konstantin Khlebnikov wrote: > A lot of filesystems use generic_file_mmap() and filemap_fault(), > f_op->mmap and vm_ops->fault aren't enough to identify filesystem. > > This prints file name, vm_ops->fault, f_op->mmap and a_ops->readpage > (which is almost al

Re: [PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-03 Thread Kirill A. Shutemov
On Fri, Apr 03, 2015 at 08:18:18PM +0300, Konstantin Khlebnikov wrote: > A lot of filesystems use generic_file_mmap() and filemap_fault(), > f_op->mmap and vm_ops->fault aren't enough to identify filesystem. > > This prints file name, vm_ops->fault, f_op->mmap and a_ops->readpage > (which is almos

[PATCH] mm/memory: print also a_ops->readpage in print_bad_pte

2015-04-03 Thread Konstantin Khlebnikov
A lot of filesystems use generic_file_mmap() and filemap_fault(), f_op->mmap and vm_ops->fault aren't enough to identify filesystem. This prints file name, vm_ops->fault, f_op->mmap and a_ops->readpage (which is almost always implemented and filesystem-specific). Example: [ 23.676410] BUG: Bad