Re: Overcommit_memory logic fails when swap is off

2005-04-12 Thread Martin Egholm Nielsen
Hi Alan,
As I can see, the patch never made it in 2.4.x, right?!
So, I would like a diff - if still possible :-)
I submitted it ages ago but it was rejected and punted to 2.6. The 2.4
support is available in Red Hat Enterprise Linux 3, so you can pull it
out of the source rpms on the ftp site or out of Centos etc
Bingo. I seem to have found what looks like it in:
linux-2.4.21-selected-ac-bits.patch
linux-2.4.21-tunable-overcommit.patch
But many of the other patches messes with mmap.c, as well :-), so I 
guess there is some tracking assignment ahead...

But nevertheless, thanks for pointing me to the source...
BR,
 Martin Egholm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Overcommit_memory logic fails when swap is off

2005-04-12 Thread Martin Egholm Nielsen
Hi Alan,
As I can see, the patch never made it in 2.4.x, right?!
So, I would like a diff - if still possible :-)
I submitted it ages ago but it was rejected and punted to 2.6. The 2.4
support is available in Red Hat Enterprise Linux 3, so you can pull it
out of the source rpms on the ftp site or out of Centos etc
Bingo. I seem to have found what looks like it in:
linux-2.4.21-selected-ac-bits.patch
linux-2.4.21-tunable-overcommit.patch
But many of the other patches messes with mmap.c, as well :-), so I 
guess there is some tracking assignment ahead...

But nevertheless, thanks for pointing me to the source...
BR,
 Martin Egholm
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Overcommit_memory logic fails when swap is off

2005-04-11 Thread Alan Cox
On Maw, 2005-04-05 at 09:49, Martin Egholm Nielsen wrote:
> As I can see, the patch never made it in 2.4.x, right?!
> So, I would like a diff - if still possible :-)

I submitted it ages ago but it was rejected and punted to 2.6. The 2.4
support is available in Red Hat Enterprise Linux 3, so you can pull it
out of the source rpms on the ftp site or out of Centos etc

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Overcommit_memory logic fails when swap is off

2005-04-11 Thread Alan Cox
On Maw, 2005-04-05 at 09:49, Martin Egholm Nielsen wrote:
 As I can see, the patch never made it in 2.4.x, right?!
 So, I would like a diff - if still possible :-)

I submitted it ages ago but it was rejected and punted to 2.6. The 2.4
support is available in Red Hat Enterprise Linux 3, so you can pull it
out of the source rpms on the ftp site or out of Centos etc

Alan

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Overcommit_memory logic fails when swap is off

2005-04-05 Thread Martin Egholm Nielsen
Hello there,
After 2½ year I stumbled over this thread:
On Wed, 2002-08-21 at 13:23, Alan Cox wrote:
2.5 propses including the ability to set the %age between the 0% of
mode 3, the 50 of mode 2 and upwards to things relevant in some
embedded system cases. So for 2.6 you will be able to tune it in
different ways according to precise understanding of workload.
Alan, hch or someone asked if it would be possible to merge the 2.5 
behavior into 2.4-ac ... are you interested or do you not want to 
break compatibility?

Note for "mode 2" the behavior is identical. For "mode 3" they would 
also need to set vm_memory_ratio to "0".

If you are willing, I'll send you a diff...
> Robert Love
As I can see, the patch never made it in 2.4.x, right?!
So, I would like a diff - if still possible :-)
I know it's been a while, but I'm stuck with a 2.4 kernel for my 
embedded device and have problems with the OOM...

Best regards,
 Martin Egholm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Overcommit_memory logic fails when swap is off

2005-04-05 Thread Martin Egholm Nielsen
Hello there,
After 2½ year I stumbled over this thread:
On Wed, 2002-08-21 at 13:23, Alan Cox wrote:
2.5 propses including the ability to set the %age between the 0% of
mode 3, the 50 of mode 2 and upwards to things relevant in some
embedded system cases. So for 2.6 you will be able to tune it in
different ways according to precise understanding of workload.
Alan, hch or someone asked if it would be possible to merge the 2.5 
behavior into 2.4-ac ... are you interested or do you not want to 
break compatibility?

Note for mode 2 the behavior is identical. For mode 3 they would 
also need to set vm_memory_ratio to 0.

If you are willing, I'll send you a diff...
 Robert Love
As I can see, the patch never made it in 2.4.x, right?!
So, I would like a diff - if still possible :-)
I know it's been a while, but I'm stuck with a 2.4 kernel for my 
embedded device and have problems with the OOM...

Best regards,
 Martin Egholm
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/