xfs
[Top] [All Lists]

Re: [patch 1/1] Update laptop mode control script with XFS_HZ=100

To: Andrew Morton <akpm@xxxxxxxx>
Subject: Re: [patch 1/1] Update laptop mode control script with XFS_HZ=100
From: Bart Samwel <bart@xxxxxxxxx>
Date: Wed, 12 May 2004 10:08:27 +0200
Cc: nathans@xxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040512010453.196fc8c9.akpm@xxxxxxxx>
References: <E1BNdCk-0008BN-TJ@xxxxxxxxx> <20040511154057.6d6c193b.akpm@xxxxxxxx> <20040512090006.B362314@xxxxxxxxxxxxxxxxxxxxxxxx> <40A1D7E3.8020700@xxxxxxxxx> <20040512010453.196fc8c9.akpm@xxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Andrew Morton wrote:

Bart Samwel <bart@xxxxxxxxx> wrote:

>>aargh.  XFS is broken.  It shouldn't be exposing jiffy-based tunables into
>>/proc, or `mount -o remount' or whatever.
>>
>>It would be much better to rework XFS so that these user-visible tunables
>>are in units of milliseconds, centiseconds or whatever.

They're in USER_HZ since 2.6.6. Andrew, is that OK or should they really be in some even more fixed unit?

All architectures have USER_HZ=100.  But it's a bit nicer and future-proof
to relabel it as centiseconds.

Agreed. Nathan, I'll make a patch for this.

--Bart


<Prev in Thread] Current Thread [Next in Thread>