dirty highmem calculation sysctl name (Was: [PATCH 1/1] mm: add dirty_highmem option)

2007-11-27 Thread Bron Gondwana
On Mon, Nov 26, 2007 at 09:53:15PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2007 16:24:24 +1100 "Bron Gondwana" <[EMAIL PROTECTED]> wrote: > > > On Mon, 26 Nov 2007 20:54:28 -0800, "Andrew Morton" <[EMAIL PROTECTED]> > > said: > > > On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL

dirty highmem calculation sysctl name (Was: [PATCH 1/1] mm: add dirty_highmem option)

2007-11-27 Thread Bron Gondwana
On Mon, Nov 26, 2007 at 09:53:15PM -0800, Andrew Morton wrote: On Tue, 27 Nov 2007 16:24:24 +1100 Bron Gondwana [EMAIL PROTECTED] wrote: On Mon, 26 Nov 2007 20:54:28 -0800, Andrew Morton [EMAIL PROTECTED] said: On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana [EMAIL PROTECTED] wrote:

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Tue, 27 Nov 2007 16:24:24 +1100 "Bron Gondwana" <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007 20:54:28 -0800, "Andrew Morton" <[EMAIL PROTECTED]> said: > > On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> > > wrote: > > > > > /* > > > + * free highmem will not be

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Bron Gondwana
On Mon, 26 Nov 2007 20:54:28 -0800, "Andrew Morton" <[EMAIL PROTECTED]> said: > On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> > wrote: > > > /* > > + * free highmem will not be subtracted from the total free memory > > + * for calculating free ratios if vm_dirty_highmem is

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> wrote: > /* > + * free highmem will not be subtracted from the total free memory > + * for calculating free ratios if vm_dirty_highmem is true > + */ > +int vm_dirty_highmem; One would expect that setting dirty_highmem to true

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Bron Gondwana
On Mon, Nov 26, 2007 at 09:53:17AM -0800, Linus Torvalds wrote: > > > On Thu, 22 Nov 2007, Bron Gondwana wrote: > > > > This patch includes some code cleanup from Linus and a toggle in > > /proc/sys/vm/dirty_highmem which can be set to 1 to add the highmem > > back to the total available memory

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Linus Torvalds
On Thu, 22 Nov 2007, Bron Gondwana wrote: > > This patch includes some code cleanup from Linus and a toggle in > /proc/sys/vm/dirty_highmem which can be set to 1 to add the highmem > back to the total available memory count. Just to verify - can you confirm that this "just fixes it" for you?

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Linus Torvalds
On Thu, 22 Nov 2007, Bron Gondwana wrote: This patch includes some code cleanup from Linus and a toggle in /proc/sys/vm/dirty_highmem which can be set to 1 to add the highmem back to the total available memory count. Just to verify - can you confirm that this just fixes it for you? I

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Bron Gondwana
On Mon, Nov 26, 2007 at 09:53:17AM -0800, Linus Torvalds wrote: On Thu, 22 Nov 2007, Bron Gondwana wrote: This patch includes some code cleanup from Linus and a toggle in /proc/sys/vm/dirty_highmem which can be set to 1 to add the highmem back to the total available memory count.

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana [EMAIL PROTECTED] wrote: /* + * free highmem will not be subtracted from the total free memory + * for calculating free ratios if vm_dirty_highmem is true + */ +int vm_dirty_highmem; One would expect that setting dirty_highmem to true would

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Bron Gondwana
On Mon, 26 Nov 2007 20:54:28 -0800, Andrew Morton [EMAIL PROTECTED] said: On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana [EMAIL PROTECTED] wrote: /* + * free highmem will not be subtracted from the total free memory + * for calculating free ratios if vm_dirty_highmem is true + */

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Tue, 27 Nov 2007 16:24:24 +1100 Bron Gondwana [EMAIL PROTECTED] wrote: On Mon, 26 Nov 2007 20:54:28 -0800, Andrew Morton [EMAIL PROTECTED] said: On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana [EMAIL PROTECTED] wrote: /* + * free highmem will not be subtracted from the total

[PATCH 1/1] mm: add dirty_highmem option

2007-11-21 Thread Bron Gondwana
On Thu, Nov 15, 2007 at 01:14:32PM -0800, Linus Torvalds wrote: > Examples of non-broken solutions: > (a) always use lowmem sizes (what we do now) > (b) always use total mem sizes (sane but potentially dangerous: but the > VM pressure should work! It has serious bounce-buffer issues,

[PATCH 1/1] mm: add dirty_highmem option

2007-11-21 Thread Bron Gondwana
On Thu, Nov 15, 2007 at 01:14:32PM -0800, Linus Torvalds wrote: Examples of non-broken solutions: (a) always use lowmem sizes (what we do now) (b) always use total mem sizes (sane but potentially dangerous: but the VM pressure should work! It has serious bounce-buffer issues, though,