Re: procps needs PAGE_SIZE

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

 



David Miller wrote:
From: Mark Fortescue <mark@xxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Aug 2007 03:41:15 +0100 (BST)

Is there a syscall, /proc file or some other system that that provides access to PAGE_SIZE for user space programs (like procps ps)?

sys_getpagesize()

We've (gentoo/mips) had our run-ins with Albert on PAGE_SIZE and procps before. Our fix was a patch that simply defined PAGE_SIZE to be sysconf(_SC_PAGESIZE), and that's fixed the program for the last 2-3 years or so. Try giving that a shot.

http://lkml.org/lkml/2007/7/14/244 is also an amusing read too.



--Kumba

--
Gentoo/MIPS Team Lead

"Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux