Re: /proc/$pid/pagemap troubles

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Hansen <haveblue@...>
Cc: linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Tuesday, July 31, 2007 - 5:37 pm

On Tue, Jul 31, 2007 at 01:36:14PM -0700, Dave Hansen wrote:

Known bug, fixed in my pending and not-currently-working update. It
ought to return 0 for short reads.
 

Also fixed.


Why? We should obviously never return more data than we were asked for
(that's clearly a bug), but lots of things refuse to read or write
stuff that isn't well sized and aligned.


Well there's either a header or there isn't.


Potentially, yes.


True. But the variable-sized header lets us add other stuff later.

-- 
Mathematics is the supreme nostalgia of our time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
/proc/$pid/pagemap troubles, Dave Hansen, (Tue Jul 31, 4:36 pm)
Re: /proc/$pid/pagemap troubles, Matt Mackall, (Tue Jul 31, 5:37 pm)
Re: /proc/$pid/pagemap troubles, Andreas Schwab, (Tue Jul 31, 6:58 pm)
Re: /proc/$pid/pagemap troubles, Dave Hansen, (Tue Jul 31, 7:06 pm)
Re: /proc/$pid/pagemap troubles, Dave Hansen, (Tue Jul 31, 6:43 pm)
Re: /proc/$pid/pagemap troubles, Matt Mackall, (Tue Jul 31, 8:14 pm)
Re: /proc/$pid/pagemap troubles, Dave Hansen, (Wed Aug 1, 12:06 pm)