Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-08 Thread Sami Farin
On Mon, Jan 08, 2007 at 10:04:36 +1100, David Chinner wrote: > On Sun, Jan 07, 2007 at 02:48:12PM -0800, Andrew Morton wrote: > > On Mon, 8 Jan 2007 09:23:41 +1100 > > David Chinner <[EMAIL PROTECTED]> wrote: > > > > > How are you supposed to invalidate a range of pages in a mapping for > > >

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-08 Thread Sami Farin
On Mon, Jan 08, 2007 at 10:04:36 +1100, David Chinner wrote: On Sun, Jan 07, 2007 at 02:48:12PM -0800, Andrew Morton wrote: On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner [EMAIL PROTECTED] wrote: How are you supposed to invalidate a range of pages in a mapping for this case, then?

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sun, Jan 07, 2007 at 02:48:12PM -0800, Andrew Morton wrote: > On Mon, 8 Jan 2007 09:23:41 +1100 > David Chinner <[EMAIL PROTECTED]> wrote: > > > How are you supposed to invalidate a range of pages in a mapping for > > this case, then? invalidate_mapping_pages() would appear to be the > >

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread Andrew Morton
On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner <[EMAIL PROTECTED]> wrote: > How are you supposed to invalidate a range of pages in a mapping for > this case, then? invalidate_mapping_pages() would appear to be the > candidate (the generic code uses this), but it _skips_ pages that > are already

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sat, Jan 06, 2007 at 09:11:07PM +, Hugh Dickins wrote: > On Sat, 6 Jan 2007, Sami Farin wrote: > > > Linux 2.6.19.1 SMP [2] on Pentium D... > > I was running dt-15.14 [2] and I ran > > "cinfo datafile" (it does mincore()). > > Well it went OK but when I ran "strace cinfo datafile"...: > >

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sat, Jan 06, 2007 at 09:11:07PM +, Hugh Dickins wrote: On Sat, 6 Jan 2007, Sami Farin wrote: Linux 2.6.19.1 SMP [2] on Pentium D... I was running dt-15.14 [2] and I ran cinfo datafile (it does mincore()). Well it went OK but when I ran strace cinfo datafile...: 04:18:48.062466

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread Andrew Morton
On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner [EMAIL PROTECTED] wrote: How are you supposed to invalidate a range of pages in a mapping for this case, then? invalidate_mapping_pages() would appear to be the candidate (the generic code uses this), but it _skips_ pages that are already

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sun, Jan 07, 2007 at 02:48:12PM -0800, Andrew Morton wrote: On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner [EMAIL PROTECTED] wrote: How are you supposed to invalidate a range of pages in a mapping for this case, then? invalidate_mapping_pages() would appear to be the candidate (the

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-06 Thread Sami Farin
On Sat, Jan 06, 2007 at 21:11:07 +, Hugh Dickins wrote: > On Sat, 6 Jan 2007, Sami Farin wrote: > > > Linux 2.6.19.1 SMP [2] on Pentium D... > > I was running dt-15.14 [2] and I ran > > "cinfo datafile" (it does mincore()). > > Well it went OK but when I ran "strace cinfo datafile"...: > >

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-06 Thread Hugh Dickins
On Sat, 6 Jan 2007, Sami Farin wrote: > Linux 2.6.19.1 SMP [2] on Pentium D... > I was running dt-15.14 [2] and I ran > "cinfo datafile" (it does mincore()). > Well it went OK but when I ran "strace cinfo datafile"...: > 04:18:48.062466 mincore(0x37f1f000, 2147266560, You rightly noted in a

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-06 Thread Hugh Dickins
On Sat, 6 Jan 2007, Sami Farin wrote: Linux 2.6.19.1 SMP [2] on Pentium D... I was running dt-15.14 [2] and I ran cinfo datafile (it does mincore()). Well it went OK but when I ran strace cinfo datafile...: 04:18:48.062466 mincore(0x37f1f000, 2147266560, You rightly noted in a followup

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-06 Thread Sami Farin
On Sat, Jan 06, 2007 at 21:11:07 +, Hugh Dickins wrote: On Sat, 6 Jan 2007, Sami Farin wrote: Linux 2.6.19.1 SMP [2] on Pentium D... I was running dt-15.14 [2] and I ran cinfo datafile (it does mincore()). Well it went OK but when I ran strace cinfo datafile...: 04:18:48.062466

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-05 Thread Sami Farin
On Sat, Jan 06, 2007 at 04:39:07 +0200, Sami Farin wrote: > Linux 2.6.19.1 SMP [2] on Pentium D... > I was running dt-15.14 [2] and I ran > "cinfo datafile" (it does mincore()). > Well it went OK but when I ran "strace cinfo datafile"...: > 04:18:48.062466 mincore(0x37f1f000, 2147266560, Forgot

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-05 Thread Sami Farin
On Sat, Jan 06, 2007 at 04:39:07 +0200, Sami Farin wrote: Linux 2.6.19.1 SMP [2] on Pentium D... I was running dt-15.14 [2] and I ran cinfo datafile (it does mincore()). Well it went OK but when I ran strace cinfo datafile...: 04:18:48.062466 mincore(0x37f1f000, 2147266560, Forgot to do