This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pageshift?
- To: libc-alpha at sources dot redhat dot com
- Subject: Re: pageshift?
- From: Chiaki Ishikawa <Chiaki dot Ishikawa at personal-media dot co dot jp>
- Date: Mon, 23 Oct 2000 02:46:41 +0900 (JST)
X-PMC-CI-e-mail-id: 13841
>It's simple math, PAGE_SHIFT == log2(PAGE_SIZE);
>
>Later,
>David S. Miller
Woudn't this use of log2 or whatever
cause an unwanted inclusion of math library?
(And for that matter on a very rare chance of
round-off error off-by-one error. Murphy's law might
strike someday.)
--
Ishikawa, Chiaki ishikawa@personal-media.co.jp.NoSpam or
(family name, given name) Chiaki.Ishikawa@personal-media.co.jp.NoSpam
Personal Media Corp. ** Remove .NoSpam at the end before use **
Shinagawa, Tokyo, Japan 142-0051