Re: Patches for REALLY TINY 386 kernels

2007-07-30 Thread Denis Vlasenko
On Wednesday 18 July 2007 22:04, Andi Kleen wrote: > Better just write less bloated code. Perhaps mandatory bloatometer > runs during -rc*s for kernels with minimal config with public code pig shame > lists > similar to the regression lists are useful. Anyone volunteering? > > I suspect there is

Re: Patches for REALLY TINY 386 kernels

2007-07-30 Thread Denis Vlasenko
On Wednesday 18 July 2007 22:04, Andi Kleen wrote: Better just write less bloated code. Perhaps mandatory bloatometer runs during -rc*s for kernels with minimal config with public code pig shame lists similar to the regression lists are useful. Anyone volunteering? I suspect there is also

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Yinghai Lu
On 7/24/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Tue, Jul 24, 2007 at 01:50:35PM -0700, Yinghai Lu wrote: > On 7/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: >> Andi Kleen wrote: >> >> Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) >> when >> >> using LinuxBIOS

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Adrian Bunk
On Tue, Jul 24, 2007 at 01:50:35PM -0700, Yinghai Lu wrote: > On 7/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: >> Andi Kleen wrote: >> >> Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) >> when >> >> using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Willy Tarreau
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > > >> Already with these patches I can compile a zImage kernel that is 450kb > >> large (890kb decompressed) > > > > The important part is not how big the vmlinux is, but how much > > memory is actually used

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Yinghai Lu
On 7/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: Andi Kleen wrote: >> Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) when >> using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference >> there how big the kernel is. At the moment you can't do that with >>

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Helge Hafting
Andi Kleen wrote: Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference there how big the kernel is. At the moment you can't do that with anything smaller than a 1 MB chip. But if people could use 512 KB

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Helge Hafting
Andi Kleen wrote: Some people are putting Linux kernels in the BIOS (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference there how big the kernel is. At the moment you can't do that with anything smaller than a 1 MB chip. But if people could use 512 KB

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Yinghai Lu
On 7/24/07, Helge Hafting [EMAIL PROTECTED] wrote: Andi Kleen wrote: Some people are putting Linux kernels in the BIOS (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference there how big the kernel is. At the moment you can't do that with anything

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Willy Tarreau
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after boot.

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Adrian Bunk
On Tue, Jul 24, 2007 at 01:50:35PM -0700, Yinghai Lu wrote: On 7/24/07, Helge Hafting [EMAIL PROTECTED] wrote: Andi Kleen wrote: Some people are putting Linux kernels in the BIOS (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference there how big

Re: Patches for REALLY TINY 386 kernels

2007-07-24 Thread Yinghai Lu
On 7/24/07, Adrian Bunk [EMAIL PROTECTED] wrote: On Tue, Jul 24, 2007 at 01:50:35PM -0700, Yinghai Lu wrote: On 7/24/07, Helge Hafting [EMAIL PROTECTED] wrote: Andi Kleen wrote: Some people are putting Linux kernels in the BIOS (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It

Re: Patches for REALLY TINY 386 kernels

2007-07-21 Thread Oleg Verych
* Date: Wed, 18 Jul 2007 12:00:05 -0700 >> If this is an issue, then changing i386 back to discarding __exit code >> and data at linktime instead of runtime might make a bigger difference. > > What would really make a big difference would be to unspool the > initramfs in such a way that it only

Re: Patches for REALLY TINY 386 kernels

2007-07-21 Thread Oleg Verych
* Date: Wed, 18 Jul 2007 12:00:05 -0700 If this is an issue, then changing i386 back to discarding __exit code and data at linktime instead of runtime might make a bigger difference. What would really make a big difference would be to unspool the initramfs in such a way that it only

Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Uwe Hermann
On Wed, Jul 18, 2007 at 03:41:02PM -0500, Matt Mackall wrote: > On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote: > > > > I was waiting for someone to make that "point" ... > > > > > > > > Every byte you can shave off the compressed kernel image is another > > > byte you can use for

Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Andi Kleen
> Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) when > using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference > there how big the kernel is. At the moment you can't do that with > anything smaller than a 1 MB chip. But if people could use 512 KB chips >

Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Andi Kleen
Some people are putting Linux kernels in the BIOS (i.e. ROM chip) when using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference there how big the kernel is. At the moment you can't do that with anything smaller than a 1 MB chip. But if people could use 512 KB chips because the

Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Uwe Hermann
On Wed, Jul 18, 2007 at 03:41:02PM -0500, Matt Mackall wrote: On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote: I was waiting for someone to make that point ... Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: >> >> However, compressed size reductions as an abstract thing is useful for >> this market. Just not these particular ones. The first thing to get >> there is probably an LZMA-based compressor instead of gzip. > > That would need more memory again. > Actually, even with a

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 01:24:41PM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > I was waiting for someone to make that "point" ... > > > >> Every byte you can shave off the compressed kernel image is another > >> byte you can use for userspace on your FLASH. > > > > Now let's see if that

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Matt Mackall
On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote: > > I was waiting for someone to make that "point" ... > > > > > Every byte you can shave off the compressed kernel image is another > > byte you can use for userspace on your FLASH. > > Now let's see if that 1MB 386 contains any

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: > I was waiting for someone to make that "point" ... > >> Every byte you can shave off the compressed kernel image is another >> byte you can use for userspace on your FLASH. > > Now let's see if that 1MB 386 contains any flash at all. Guesses? > CPUID is hardly something

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread John Stoffel
> "Jan" == Jan Engelhardt <[EMAIL PROTECTED]> writes: Jan> On Jul 18 2007 20:20, Andi Kleen wrote: >>> >>> Well, how big the vmlinux file is matters if it doesn't fit in memory >>> with enough time to get to the phase where it is dumping the init >>> sections. >> >> If you don't have

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
I was waiting for someone to make that "point" ... > > Every byte you can shave off the compressed kernel image is another > byte you can use for userspace on your FLASH. Now let's see if that 1MB 386 contains any flash at all. Guesses? -Andi - To unsubscribe from this list: send the line

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Matt Mackall wrote: > > That's not the point at all. > > Every byte you can shave off the compressed kernel image is another > byte you can use for userspace on your FLASH. > That wasn't the original poster's point, but yes, that is a real issue. -hpa - To unsubscribe from this list:

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Matt Mackall
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > > >> Already with these patches I can compile a zImage kernel that is 450kb > >> large (890kb decompressed) > > > > The important part is not how big the vmlinux is, but how much > > memory is actually used

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Adrian Bunk wrote: > On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: >> Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) >>> The important part is not how big the vmlinux is, but how much >>> memory is

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
> And the hypothetical case where RAM is hotplugged and/or recognized after the > kernel has been loaded by the bootloader? I do not claim to be an expert, but RAM hotadd needs working user space to trigger it. Besides it typically comes with cpuhotplug too, so you couldn't even discard

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:38, Andi Kleen wrote: >> >> >> >> Well, how big the vmlinux file is matters if it doesn't fit in memory >> >> with enough time to get to the phase where it is dumping the init >> >> sections. >> > >> >If you don't have enough memory for a few tens of KB of init sections >>

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:33:59PM +0200, Adrian Bunk wrote: > On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > > Andi Kleen wrote: > > > > > >> Already with these patches I can compile a zImage kernel that is 450kb > > >> large (890kb decompressed) > > > > > > The important

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:33, Adrian Bunk wrote: >> Well, how big the vmlinux file is matters if it doesn't fit in memory >> with enough time to get to the phase where it is dumping the init >> sections. *If that is not the issue*, then axing stuff like CPUID is a >> major lose in terms of code

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:29:27PM +0200, Jan Engelhardt wrote: > > On Jul 18 2007 20:20, Andi Kleen wrote: > >> > >> Well, how big the vmlinux file is matters if it doesn't fit in memory > >> with enough time to get to the phase where it is dumping the init > >> sections. > > > >If you don't

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Adrian Bunk
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > > >> Already with these patches I can compile a zImage kernel that is 450kb > >> large (890kb decompressed) > > > > The important part is not how big the vmlinux is, but how much > > memory is actually used

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:20, Andi Kleen wrote: >> >> Well, how big the vmlinux file is matters if it doesn't fit in memory >> with enough time to get to the phase where it is dumping the init >> sections. > >If you don't have enough memory for a few tens of KB of init sections >you're very unlikely

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > > >> Already with these patches I can compile a zImage kernel that is 450kb > >> large (890kb decompressed) > > > > The important part is not how big the vmlinux is, but how much > > memory is actually used

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: > >> Already with these patches I can compile a zImage kernel that is 450kb >> large (890kb decompressed) > > The important part is not how big the vmlinux is, but how much > memory is actually used after boot. > > I expect concentrating some of the dynamic data structures

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after boot. I expect concentrating some of the dynamic data structures would be

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after boot.

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:20, Andi Kleen wrote: Well, how big the vmlinux file is matters if it doesn't fit in memory with enough time to get to the phase where it is dumping the init sections. If you don't have enough memory for a few tens of KB of init sections you're very unlikely to have

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Adrian Bunk
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after boot.

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:29:27PM +0200, Jan Engelhardt wrote: On Jul 18 2007 20:20, Andi Kleen wrote: Well, how big the vmlinux file is matters if it doesn't fit in memory with enough time to get to the phase where it is dumping the init sections. If you don't have enough memory

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:33, Adrian Bunk wrote: Well, how big the vmlinux file is matters if it doesn't fit in memory with enough time to get to the phase where it is dumping the init sections. *If that is not the issue*, then axing stuff like CPUID is a major lose in terms of code maintainability

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 08:33:59PM +0200, Adrian Bunk wrote: On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Jan Engelhardt
On Jul 18 2007 20:38, Andi Kleen wrote: Well, how big the vmlinux file is matters if it doesn't fit in memory with enough time to get to the phase where it is dumping the init sections. If you don't have enough memory for a few tens of KB of init sections you're very unlikely to

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
And the hypothetical case where RAM is hotplugged and/or recognized after the kernel has been loaded by the bootloader? I do not claim to be an expert, but RAM hotadd needs working user space to trigger it. Besides it typically comes with cpuhotplug too, so you couldn't even discard __cpuinit.

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Adrian Bunk wrote: On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Matt Mackall
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: Andi Kleen wrote: Already with these patches I can compile a zImage kernel that is 450kb large (890kb decompressed) The important part is not how big the vmlinux is, but how much memory is actually used after boot.

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Matt Mackall wrote: That's not the point at all. Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your FLASH. That wasn't the original poster's point, but yes, that is a real issue. -hpa - To unsubscribe from this list: send

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
I was waiting for someone to make that point ... Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your FLASH. Now let's see if that 1MB 386 contains any flash at all. Guesses? -Andi - To unsubscribe from this list: send the line

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread John Stoffel
Jan == Jan Engelhardt [EMAIL PROTECTED] writes: Jan On Jul 18 2007 20:20, Andi Kleen wrote: Well, how big the vmlinux file is matters if it doesn't fit in memory with enough time to get to the phase where it is dumping the init sections. If you don't have enough memory for a few tens

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: I was waiting for someone to make that point ... Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your FLASH. Now let's see if that 1MB 386 contains any flash at all. Guesses? CPUID is hardly something you want to

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Matt Mackall
On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote: I was waiting for someone to make that point ... Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your FLASH. Now let's see if that 1MB 386 contains any flash at all.

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 01:24:41PM -0700, H. Peter Anvin wrote: Andi Kleen wrote: I was waiting for someone to make that point ... Every byte you can shave off the compressed kernel image is another byte you can use for userspace on your FLASH. Now let's see if that 1MB 386 contains

Re: Patches for REALLY TINY 386 kernels

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: However, compressed size reductions as an abstract thing is useful for this market. Just not these particular ones. The first thing to get there is probably an LZMA-based compressor instead of gzip. That would need more memory again. Actually, even with a 64K

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Andi Kleen
Jonathan Campbell <[EMAIL PROTECTED]> writes: > I wrote a set of patches out of concern that even if you compile a 386 > kernel a lot of code irrelevent to legacy machines still > remains. Things like the Pentium TSC register, DMI information, ESCD > parsing, and the use of CPUID do not apply to

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Matt Mackall
On Tue, Jul 17, 2007 at 12:59:03PM +0200, Jan Engelhardt wrote: > > On Jul 15 2007 14:00, Jonathan Campbell wrote: > > > > These patches were written against the vanilla 2.6.21.1 kernel. They will > > have > > no effect UNLESS you make menuconfig and explicitly enable them there. > > > > >

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-17 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Al Boldi wrote: > Satyam Sharma wrote: > > Or just "cp -al" to create multiple trees at (almost) no disk cost > > that won't interfere with each other in any way, and makes the > > development process / generating patchsets trifle easier as well ... > > That would be correct

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Jan Engelhardt
On Jul 15 2007 14:00, Jonathan Campbell wrote: > > These patches were written against the vanilla 2.6.21.1 kernel. They will have > no effect UNLESS you make menuconfig and explicitly enable them there. > > inline patches... >+config X86_DONT_CPUID >+ bool "Disable CPUID support" >+

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Jan Engelhardt
On Jul 15 2007 14:00, Jonathan Campbell wrote: These patches were written against the vanilla 2.6.21.1 kernel. They will have no effect UNLESS you make menuconfig and explicitly enable them there. inline patches... +config X86_DONT_CPUID + bool Disable CPUID support + depends on

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-17 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Al Boldi wrote: Satyam Sharma wrote: Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development process / generating patchsets trifle easier as well ... That would be correct if

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Matt Mackall
On Tue, Jul 17, 2007 at 12:59:03PM +0200, Jan Engelhardt wrote: On Jul 15 2007 14:00, Jonathan Campbell wrote: These patches were written against the vanilla 2.6.21.1 kernel. They will have no effect UNLESS you make menuconfig and explicitly enable them there. inline patches...

Re: Patches for REALLY TINY 386 kernels

2007-07-17 Thread Andi Kleen
Jonathan Campbell [EMAIL PROTECTED] writes: I wrote a set of patches out of concern that even if you compile a 386 kernel a lot of code irrelevent to legacy machines still remains. Things like the Pentium TSC register, DMI information, ESCD parsing, and the use of CPUID do not apply to these

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Jörn Engel
On Mon, 16 July 2007 20:23:04 +0300, Al Boldi wrote: > Jörn Engel wrote: > > > The only place that can ensure to always break the > > link is the kernel. Which is why I wrote the cowlink patches some years > > back. > > Can you post a patch against 2.6.22? I can and probably will. > > The

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Al Boldi
Jörn Engel wrote: > On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote: > > On 7/16/07, Al Boldi <[EMAIL PROTECTED]> wrote: > > >Satyam Sharma wrote: > > >> Or just "cp -al" to create multiple trees at (almost) no disk cost > > >> that won't interfere with each other in any way, and makes

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Jörn Engel
On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote: > On 7/16/07, Al Boldi <[EMAIL PROTECTED]> wrote: > >Satyam Sharma wrote: > >> Or just "cp -al" to create multiple trees at (almost) no disk cost > >> that won't interfere with each other in any way, and makes the > >> development process /

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Satyam Sharma
On 7/16/07, Al Boldi <[EMAIL PROTECTED]> wrote: Satyam Sharma wrote: > Or just "cp -al" to create multiple trees at (almost) no disk cost > that won't interfere with each other in any way, and makes the > development process / generating patchsets trifle easier as well ... That would be correct

Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Al Boldi
Satyam Sharma wrote: > Or just "cp -al" to create multiple trees at (almost) no disk cost > that won't interfere with each other in any way, and makes the > development process / generating patchsets trifle easier as well ... That would be correct if hardlinks would actually do a CoW on modify,

Re: Patches for REALLY TINY 386 kernels

2007-07-16 Thread Bodo Eggert
Satyam Sharma <[EMAIL PROTECTED]> wrote: [zillions of ways to do -X dontdiff] > Or just "cp -al" to create multiple trees at (almost) no disk cost > that won't interfere with each other in any way, and makes the > development process / generating patchsets trifle easier as well ... Beware, some

Re: Patches for REALLY TINY 386 kernels

2007-07-16 Thread Bodo Eggert
Satyam Sharma [EMAIL PROTECTED] wrote: [zillions of ways to do -X dontdiff] Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development process / generating patchsets trifle easier as well ... Beware, some

Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Al Boldi
Satyam Sharma wrote: Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development process / generating patchsets trifle easier as well ... That would be correct if hardlinks would actually do a CoW on modify,

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Satyam Sharma
On 7/16/07, Al Boldi [EMAIL PROTECTED] wrote: Satyam Sharma wrote: Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development process / generating patchsets trifle easier as well ... That would be correct if

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Jörn Engel
On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote: On 7/16/07, Al Boldi [EMAIL PROTECTED] wrote: Satyam Sharma wrote: Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development process / generating

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Al Boldi
Jörn Engel wrote: On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote: On 7/16/07, Al Boldi [EMAIL PROTECTED] wrote: Satyam Sharma wrote: Or just cp -al to create multiple trees at (almost) no disk cost that won't interfere with each other in any way, and makes the development

Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Jörn Engel
On Mon, 16 July 2007 20:23:04 +0300, Al Boldi wrote: Jörn Engel wrote: The only place that can ensure to always break the link is the kernel. Which is why I wrote the cowlink patches some years back. Can you post a patch against 2.6.22? I can and probably will. The still need a

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Satyam Sharma
[ the off-topic zillion-ways-to-do-same-thing-in-*nix sub-thread ] On 7/16/07, Arnd Bergmann <[EMAIL PROTECTED]> wrote: On Monday 16 July 2007, Satyam Sharma wrote: > > Yeah. I was going for the general principle :) > > Even simpler to add --exclude-from=.gitignore to diff > Or build in a

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Arnd Bergmann
On Monday 16 July 2007, Satyam Sharma wrote: > > Yeah. I was going for the general principle :) > > Even simpler to add --exclude-from=.gitignore to diff > Or build in a separate object directory, using the O=$my_objdir Kbuild option. That has a number of addition advantages, e.g. you can easily

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Satyam Sharma
On 7/16/07, Nigel Cunningham <[EMAIL PROTECTED]> wrote: On Monday 16 July 2007 08:45:26 Alan Cox wrote: > > > These patches were written against the vanilla 2.6.21.1 kernel. They > > > will have no effect UNLESS you make menuconfig and explicitly enable > > > them there. > > > > Would you please

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Nigel Cunningham
On Monday 16 July 2007 08:45:26 Alan Cox wrote: > > > These patches were written against the vanilla 2.6.21.1 kernel. They > > > will have no effect UNLESS you make menuconfig and explicitly enable > > > them there. > > > > Would you please make mrproper before preparing the patch? It's harder

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread H. Peter Anvin
Jonathan Campbell wrote: > I wrote a set of patches out of concern that even if you compile a 386 > kernel a lot of code irrelevent to legacy machines still remains. Things > like the Pentium TSC register, DMI information, ESCD parsing, and the > use of CPUID do not apply to these machines, but

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Adrian Bunk
On Sun, Jul 15, 2007 at 02:00:29PM -0700, Jonathan Campbell wrote: > I wrote a set of patches out of concern that even if you compile a 386 > kernel a lot of code irrelevent to legacy machines still remains. Things > like the Pentium TSC register, DMI information, ESCD parsing, and the use > of

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Alan Cox
> > These patches were written against the vanilla 2.6.21.1 kernel. They > > will have no effect UNLESS you make menuconfig and explicitly enable > > them there. > > Would you please make mrproper before preparing the patch? It's harder to > read > with all the "Only in..." lines. A lot

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Nigel Cunningham
Hi Jonathan. On Monday 16 July 2007 07:00:29 Jonathan Campbell wrote: > I wrote a set of patches out of concern that even if you compile a 386 > kernel a lot of code irrelevent to legacy machines still remains. Things > like the Pentium TSC register, DMI information, ESCD parsing, and the >

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Nigel Cunningham
Hi Jonathan. On Monday 16 July 2007 07:00:29 Jonathan Campbell wrote: I wrote a set of patches out of concern that even if you compile a 386 kernel a lot of code irrelevent to legacy machines still remains. Things like the Pentium TSC register, DMI information, ESCD parsing, and the use of

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Alan Cox
These patches were written against the vanilla 2.6.21.1 kernel. They will have no effect UNLESS you make menuconfig and explicitly enable them there. Would you please make mrproper before preparing the patch? It's harder to read with all the Only in... lines. A lot simpler is to

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Adrian Bunk
On Sun, Jul 15, 2007 at 02:00:29PM -0700, Jonathan Campbell wrote: I wrote a set of patches out of concern that even if you compile a 386 kernel a lot of code irrelevent to legacy machines still remains. Things like the Pentium TSC register, DMI information, ESCD parsing, and the use of

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread H. Peter Anvin
Jonathan Campbell wrote: I wrote a set of patches out of concern that even if you compile a 386 kernel a lot of code irrelevent to legacy machines still remains. Things like the Pentium TSC register, DMI information, ESCD parsing, and the use of CPUID do not apply to these machines, but

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Nigel Cunningham
On Monday 16 July 2007 08:45:26 Alan Cox wrote: These patches were written against the vanilla 2.6.21.1 kernel. They will have no effect UNLESS you make menuconfig and explicitly enable them there. Would you please make mrproper before preparing the patch? It's harder to read

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Satyam Sharma
On 7/16/07, Nigel Cunningham [EMAIL PROTECTED] wrote: On Monday 16 July 2007 08:45:26 Alan Cox wrote: These patches were written against the vanilla 2.6.21.1 kernel. They will have no effect UNLESS you make menuconfig and explicitly enable them there. Would you please make mrproper

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Arnd Bergmann
On Monday 16 July 2007, Satyam Sharma wrote: Yeah. I was going for the general principle :) Even simpler to add --exclude-from=.gitignore to diff Or build in a separate object directory, using the O=$my_objdir Kbuild option. That has a number of addition advantages, e.g. you can easily

Re: Patches for REALLY TINY 386 kernels

2007-07-15 Thread Satyam Sharma
[ the off-topic zillion-ways-to-do-same-thing-in-*nix sub-thread ] On 7/16/07, Arnd Bergmann [EMAIL PROTECTED] wrote: On Monday 16 July 2007, Satyam Sharma wrote: Yeah. I was going for the general principle :) Even simpler to add --exclude-from=.gitignore to diff Or build in a separate