linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Sven Luther <sven.luther@wanadoo.fr>
Cc: akpm@osdl.org, Olaf Hering <olaf@aepfle.de>,
	Sven Luther <sl@bplan-gmbh.de>,
	tilmann@bitterberg.de, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] enable RTAS /proc for PowerPC/CHRP platform
Date: Fri, 20 Oct 2006 17:12:52 +1000	[thread overview]
Message-ID: <1161328372.10524.170.camel@localhost.localdomain> (raw)
In-Reply-To: <20061020065849.GA17286@powerlinux.fr>


> Exact, it is not about poluting, but about rationalizing. The fact is that
> these are the two infos that are the most necessary to userland, then why
> disseminate the info in thousand different places, instead of making it easily
> available in a canonical place in a standard format for everyone ? 

Why would that be absolutely necessary to userland ? We've lived very
well without that so far.
 
> > About 32bit/64bit, maybe VmallocTotal from /proc/meminfo can be used.
> > incredible large numer == must be a 64bit kernel
> > No idea how reliable it is. There are those 36bit systems, but I bet
> > they dont run a distro.
> 
> This sounds like the ugliest hack i have seen around, and is prone to break. A
> proper /proc/cpuinfo flag would be most welcome to solve this cleanly.

uname is your friend... damn, and if you want to be real sure, then just
try to run a 64 bits binary and see what happens :)

Ben.

  reply	other threads:[~2006-10-20  7:13 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17 11:29 [PATCH] enable RTAS /proc for PowerPC/CHRP platform Nicolas DET
2006-10-17 13:22 ` Christoph Hellwig
2006-10-17 22:22   ` Arnd Bergmann
2006-10-18 22:39     ` Benjamin Herrenschmidt
2006-10-20  8:13     ` Nicolas DET
2006-10-18  5:51   ` Nicolas DET
2006-10-18  6:05     ` Sven Luther
2006-10-18  6:15     ` Michael Ellerman
2006-10-18  6:34       ` Nicolas DET
2006-10-18  7:38       ` Olaf Hering
2006-10-18 22:38         ` Benjamin Herrenschmidt
2006-10-19  7:03           ` Olaf Hering
2006-10-19 23:35             ` Benjamin Herrenschmidt
2006-10-20  5:44               ` Olaf Hering
2006-10-20  5:56                 ` Benjamin Herrenschmidt
2006-10-20  6:24                   ` Sven Luther
2006-10-20  6:44                     ` Olaf Hering
2006-10-20  6:58                       ` Sven Luther
2006-10-20  7:12                         ` Benjamin Herrenschmidt [this message]
2006-10-20  7:36                           ` Sven Luther
2006-10-20  8:16                             ` Benjamin Herrenschmidt
2006-10-20  7:20                         ` Olaf Hering
2006-10-20  7:37                           ` Sven Luther
2006-10-20  7:49                             ` Olaf Hering
2006-10-20  8:12                             ` Segher Boessenkool
2006-10-20  8:52                               ` Sven Luther
2006-10-20 10:00                                 ` Olaf Hering
2006-10-20 13:59                                   ` Segher Boessenkool
2006-10-20  7:11                       ` Benjamin Herrenschmidt
2006-10-20  7:14                         ` Olaf Hering
2006-10-20  7:36                           ` Benjamin Herrenschmidt
2006-10-20 10:01                       ` Paul Mackerras

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=1161328372.10524.170.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=olaf@aepfle.de \
    --cc=sl@bplan-gmbh.de \
    --cc=sven.luther@wanadoo.fr \
    --cc=tilmann@bitterberg.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;
as well as URLs for NNTP newsgroup(s).