mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steve Lord <lord@sgi.com>
To: Robert Szentmihalyi <robert.szentmihalyi@entracom.de>
Cc: Dan Chen <crimsun@email.unc.edu>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 48 bit ATA support in Linux 2.4
Date: 08 May 2002 09:03:08 -0500	[thread overview]
Message-ID: <1020866588.29836.17.camel@jen.americas.sgi.com> (raw)
In-Reply-To: <200205081607249.SM00162@there>

On Wed, 2002-05-08 at 09:02, Robert Szentmihalyi wrote:
> 
> Can anybody who knows the XFS code please tell what the alias VM_PAGEBUF
> in this enumeration is used for and how I could fix this?
> 
> The original 2.4.49-pre7 code seems to define another alias for 11 in this enum:
>  
> /* CTL_VM names: */
> enum
> {
> 	VM_SWAPCTL=1,		/* struct: Set vm swapping control */
> 	VM_SWAPOUT=2,		/* int: Linear or sqrt() swapout for hogs */
> 	VM_FREEPG=3,		/* struct: Set free page thresholds */
> 	VM_BDFLUSH=4,		/* struct: Control buffer cache flushing */
> 	VM_OVERCOMMIT_MEMORY=5,	/* Turn off the virtual memory safety limit */
> 	VM_BUFFERMEM=6,		/* struct: Set buffer memory thresholds */
> 	VM_PAGECACHE=7,		/* struct: Set cache memory thresholds */
> 	VM_PAGERDAEMON=8,	/* struct: Control kswapd behaviour */
> 	VM_PGT_CACHE=9,		/* struct: Set page table cache parameters */
> 	VM_PAGE_CLUSTER=10,	/* int: set number of pages to swap together */
> 	VM_MAX_MAP_COUNT=11,	/* int: Maximum number of active map areas */
> 	VM_MIN_READAHEAD=12,    /* Min file readahead */
> 	VM_MAX_READAHEAD=13,    /* Max file readahead */
> };
> 
> Any hints?
> 


Just push the VM_PAGEBUF number up to an unused value, there are no
user space programs which actually use it, just the /proc interface
is normally used for this.

Steve


-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@sgi.com

      reply	other threads:[~2002-05-08 14:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 15:21 Robert Szentmihalyi
     [not found] ` <20020507163230.GF32518@opeth.ath.cx>
2002-05-08 14:02   ` Robert Szentmihalyi
2002-05-08 14:03     ` Steve Lord [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1020866588.29836.17.camel@jen.americas.sgi.com \
    --to=lord@sgi.com \
    --cc=crimsun@email.unc.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.szentmihalyi@entracom.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®