From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] asm/page.h
Date: Tue, 19 Feb 2008 04:48:20 +0300
Message-ID: <20080219014820.GA9733@wo.int.altlinux.org> (raw)
In-Reply-To: <20080219001811.GD25921@imap.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
On Tue, Feb 19, 2008 at 03:18:11AM +0300, Kirill Maslinsky wrote:
> И если можно ещё уточнить, что в этом случае писать апстриму?
Что использовать PAGE_SIZE нехорошо, ибо плохо переносится между разными
версиями ядра и дистрибутивами, и вообще эта константа может отличаться от
реального значения размера страницы в загруженном ядре, которое возвращает
sysconf(_SC_PAGESIZE).
Про getpagesize(2) см. её manpage.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-02-19 1:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 21:09 ` [devel] xawtv4-4.0-alt3.cvs20070625.2: i586 rebuild failed Hihin Ruslan
2008-02-18 21:40 ` [devel] asm/page.h Dmitry V. Levin
2008-02-18 22:38 ` Kirill Maslinsky
2008-02-18 23:42 ` Led
2008-02-18 23:45 ` Led
2008-02-19 0:06 ` Dmitry V. Levin
2008-02-19 0:18 ` Kirill Maslinsky
2008-02-19 0:23 ` Led
2008-02-19 0:40 ` Kirill Maslinsky
2008-02-19 0:55 ` Led
2008-02-19 1:49 ` Dmitry V. Levin
2008-02-19 12:42 ` Kirill A. Shutemov
2008-02-19 12:43 ` Mikhail Gusarov
2008-02-20 4:54 ` Ildar Mulyukov
2008-02-20 14:33 ` Kirill Maslinsky
2008-02-19 9:43 ` Slava Semushin
2008-02-19 1:48 ` Dmitry V. Levin [this message]
2008-02-19 15:03 ` Led
2008-02-19 0:11 ` Kirill Maslinsky
2008-02-19 0:22 ` Led
2008-02-19 12:35 ` Kirill A. Shutemov
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=20080219014820.GA9733@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.org \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git