2004-09-24 04:12:33

by Ray Bryant

[permalink] [raw]
Subject: lockmeter in 2.6.9-rc2-mm2

This seems to compile for me, at least, haven't gotten to do a test of it.

Does the x86_64 stuff compile now?
--
Best Regards,
Ray
-----------------------------------------------
Ray Bryant
512-453-9679 (work) 512-507-7807 (cell)
[email protected] [email protected]
The box said: "Requires Windows 98 or better",
so I installed Linux.
-----------------------------------------------


2004-09-24 04:20:15

by William Lee Irwin III

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

On Thu, Sep 23, 2004 at 11:17:05PM -0500, Ray Bryant wrote:
> This seems to compile for me, at least, haven't gotten to do a test of it.
> Does the x86_64 stuff compile now?

AFAICT yes. I've been doing allyesconfig compiles for some header
cleanup sweeps on x86-64; LOCKMETER=y is set, and it compiles fine.


-- wli

2004-09-24 04:23:27

by Andrew Morton

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

Ray Bryant <[email protected]> wrote:
>
> This seems to compile for me, at least,

Great.

> haven't gotten to do a test of it.

Please do.

> Does the x86_64 stuff compile now?

yup. I do regular x86 and x86_64 allfooconfig builds. I'd do so on
sparc64/ppc64/ia64 too, if they had a chance of compiling :(

2004-09-24 04:28:20

by William Lee Irwin III

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

Ray Bryant <[email protected]> wrote:
>> Does the x86_64 stuff compile now?

On Thu, Sep 23, 2004 at 09:21:06PM -0700, Andrew Morton wrote:
> yup. I do regular x86 and x86_64 allfooconfig builds. I'd do so on
> sparc64/ppc64/ia64 too, if they had a chance of compiling :(

All it takes is grunt work to fix these; so how badly do you want them
fixed?


-- wli

2004-09-24 04:34:41

by William Lee Irwin III

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

Ray Bryant <[email protected]> wrote:
>>> Does the x86_64 stuff compile now?

On Thu, Sep 23, 2004 at 09:21:06PM -0700, Andrew Morton wrote:
>> yup. I do regular x86 and x86_64 allfooconfig builds. I'd do so on
>> sparc64/ppc64/ia64 too, if they had a chance of compiling :(

On Thu, Sep 23, 2004 at 09:28:07PM -0700, William Lee Irwin III wrote:
> All it takes is grunt work to fix these; so how badly do you want them
> fixed?

FWIW, AFAICT x86-64 doesn't build with allyesconfig either. I use the
following to carry out allyesconfig compiletests.

Index: mm2-2.6.9-rc2/arch/x86_64/boot/tools/build.c
===================================================================
--- mm2-2.6.9-rc2.orig/arch/x86_64/boot/tools/build.c 2004-09-12 22:33:54.000000000 -0700
+++ mm2-2.6.9-rc2/arch/x86_64/boot/tools/build.c 2004-09-23 09:34:48.177166616 -0700
@@ -151,9 +151,6 @@
fprintf (stderr, "System is %d kB\n", sz/1024);
sys_size = (sz + 15) / 16;
/* 0x40000*16 = 4.0 MB, reasonable estimate for the current maximum */
- if (sys_size > (is_big_kernel ? 0x40000 : DEF_SYSSIZE))
- die("System is too big. Try using %smodules.",
- is_big_kernel ? "" : "bzImage or ");
while (sz > 0) {
int l, n;

2004-09-24 04:39:51

by Andrew Morton

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

William Lee Irwin III <[email protected]> wrote:
>
> Ray Bryant <[email protected]> wrote:
> >> Does the x86_64 stuff compile now?
>
> On Thu, Sep 23, 2004 at 09:21:06PM -0700, Andrew Morton wrote:
> > yup. I do regular x86 and x86_64 allfooconfig builds. I'd do so on
> > sparc64/ppc64/ia64 too, if they had a chance of compiling :(
>
> All it takes is grunt work to fix these; so how badly do you want them
> fixed?
>

Well not greatly, except that each compile failure is usually due to a real
bug. Ditto all the warnings, actually.

2004-09-30 03:57:32

by Ray Bryant

[permalink] [raw]
Subject: Re: lockmeter in 2.6.9-rc2-mm2

Andrew Morton wrote:
> Ray Bryant <[email protected]> wrote:
>
>>This seems to compile for me, at least,
>
>
> Great.
>
>
>>haven't gotten to do a test of it.
>
>
> Please do.
>
>
>>Does the x86_64 stuff compile now?
>
>
> yup. I do regular x86 and x86_64 allfooconfig builds. I'd do so on
> sparc64/ppc64/ia64 too, if they had a chance of compiling :(
>
>
Andrew,

Just got around to testing lockmeter with 2.6.9-rc2-mm4. It compiles
and works fine on i386, both in preempt and non-preempt kernels.

On Altix it compiles and boots fine, but hangs when you try to turn on
the lockmeter statististics (with "lockmeter on"). I'll pursue that
further tomorrow.
--
Best Regards,
Ray
-----------------------------------------------
Ray Bryant
512-453-9679 (work) 512-507-7807 (cell)
[email protected] [email protected]
The box said: "Requires Windows 98 or better",
so I installed Linux.
-----------------------------------------------