2006-01-06 00:24:22

by Jesper Juhl

[permalink] [raw]
Subject: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)

$ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
-rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
linux-2.6.15-mm1/Documentation/page_owner.c

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html


2006-01-06 00:35:54

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

Jesper Juhl <[email protected]> wrote:
>
> Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)
>
> $ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
> -rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
> linux-2.6.15-mm1/Documentation/page_owner.c
>

That's the tool for extracting the data which
page-owner-tracking-leak-detector.patch produces. There's no obvious place
to put it, really. It could be in scripts/ I guess.

Consider it compilable documentation ;)

2006-01-06 00:40:28

by Michal Piotrowski

[permalink] [raw]
Subject: Re: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

Hi,

On 06/01/06, Jesper Juhl <[email protected]> wrote:
> Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)
>
> $ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
> -rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
> linux-2.6.15-mm1/Documentation/page_owner.c
>

It's simple - if you want page_owner documentation you can just read
the source code ;)

Regards,
Michal Piotrowski

2006-01-06 00:42:05

by Jesper Juhl

[permalink] [raw]
Subject: Re: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

On 1/6/06, Andrew Morton <[email protected]> wrote:
> Jesper Juhl <[email protected]> wrote:
> >
> > Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)
> >
> > $ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
> > -rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
> > linux-2.6.15-mm1/Documentation/page_owner.c
> >
>
> That's the tool for extracting the data which
> page-owner-tracking-leak-detector.patch produces. There's no obvious place
> to put it, really. It could be in scripts/ I guess.
>
> Consider it compilable documentation ;)
>

Heh, ok, fair enough ;)

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-01-06 03:20:34

by Qi Yong

[permalink] [raw]
Subject: Re: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

On Fri, Jan 06, 2006 at 01:24:20AM +0100, Jesper Juhl wrote:
> Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)
>
> $ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
> -rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
> linux-2.6.15-mm1/Documentation/page_owner.c

[coywolf@everest ~/linux/2.6.15-mm1]$ head Documentation/page_owner.c
/*
* User-space helper to sort the output of /proc/page_owner
*
* Example use:
* cat /proc/page_owner > page_owner.txt
* ./sort page_owner.txt sorted_page_owner.txt
*/

#include <stdio.h>
#include <stdlib.h>

2006-01-06 08:21:22

by Jesper Juhl

[permalink] [raw]
Subject: Re: 2.6.15-mm1: what's page_owner.c doing in Documentation/ ???

On 1/6/06, Coywolf Qi Hunt <[email protected]> wrote:
> On Fri, Jan 06, 2006 at 01:24:20AM +0100, Jesper Juhl wrote:
> > Just wondering what page_owner.c is doing in Documentation/ in 2.6.15-mm1 ;-)
> >
> > $ ls -l linux-2.6.15-mm1/Documentation/page_owner.c
> > -rw-r--r-- 1 juhl users 2587 2006-01-05 18:15
> > linux-2.6.15-mm1/Documentation/page_owner.c
>
> [coywolf@everest ~/linux/2.6.15-mm1]$ head Documentation/page_owner.c
[snip]

Yes, I did take a look at what it was, I was just wondering why it was
put in the Documentation/ dir. Just seemed a little odd location to
me.
But OK, it's considered documentation, no problem :)

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html