This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pageshift?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]