Re: [PATCH] address-space identification for /proc

2000-10-26 Thread Jeremy Fitzhardinge
On Thu, Oct 26, 2000 at 07:01:26PM -0400, Johannes Erdfelt wrote: > and even more obvious: > > + buffer += sprintf(buffer, "ASID:\t%p\n", mm); > > Actually putting it into the buffer would be useful as well :) That serves me right for hand-editing patches. J -- Repeat to self: I am

Re: [PATCH] address-space identification for /proc

2000-10-26 Thread Johannes Erdfelt
On Thu, Oct 26, 2000, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > On Thu, Oct 26, 2000 at 03:45:27PM -0700, I wrote: > > + buffer += sprintf("ASID: %p\n", mm); > > Obviously, this should be: > > + buffer += sprintf("ASID:\t%p\n", mm); and even more obvious: + buffer += sprintf

Re: [PATCH] address-space identification for /proc

2000-10-26 Thread Jeremy Fitzhardinge
On Thu, Oct 26, 2000 at 03:45:27PM -0700, I wrote: > + buffer += sprintf("ASID: %p\n", mm); Obviously, this should be: + buffer += sprintf("ASID:\t%p\n", mm); for consistency. J PGP signature

[PATCH] address-space identification for /proc

2000-10-26 Thread Jeremy Fitzhardinge
Hi, /proc has no way to indicate whether tasks share an address space. This one-liner patch adds a new ASID: field to /proc//status so there's some way to see address-space sharing between tasks. While this is hardly a bug-fix, it is a pretty useful thing to know which is otherwise completely ab