lkml.org 
[lkml]   [2000]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: sysconf (was Re: RLIM_INFINITY inconsistency between archs)
Date
Followup to:  <200007272156.RAA04805@tsx-prime.MIT.EDU>
By author: "Theodore Y. Ts'o" <tytso@MIT.EDU>
In newsgroup: linux.dev.kernel
>
> Ulrich,
>
> Linus is right, no major structural change is necessary. For example,
> here's a very short patch necessary to support __SC_CLK_TCK (which is
> probably the most interesting of the sysconf() variables as far as I'm
> concerned.) It's only a 5-line patch. (See below)
>

I don't think we want to do this! IMO, HZ should not get exported to
user space *AT ALL*. Instead, for the few interfaces that need it,
we'll export a "user space HZ" (USER_HZ) which is fixed. No need for
a kernel hack. When we support nonstandard values for HZ, we need to
fix the few interfaces that actually export jiffies values to convert
from "user jiffies" to real jiffies.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.162 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site