Re: If kernel page size changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/02/2010 10:38 AM, raju goruganti wrote:
Hi all,

If anyone wants to change page size ,while configuring linux-kernel,do
he needs do anything in compiler part(gcc or glibc) to run all other
things properly?




Best Regards,
Raju



Hi Raju,

I don't think the page size is ever assumed statically.
So it is probably not necessary to modify/recompile anything.

Quote from man getpagesize(2):

Generally,  one uses  binaries  that  are  dependent on the
architecture but not on the machine model, in order to have a single
binary distribution per architecture.   This  means that a user program
should not find PAGE_SIZE at compile time from a header file, but use
an actual system call, at least for those architectures (like sun4) where this dependency exists.

Nicolas.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux