ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Cc: devel@altlinux.ru
Subject: [devel] Re: [sisyphus] Shared memory - HELP PLEASE!
Date: Thu, 25 Mar 2004 14:54:33 +0300
Message-ID: <20040325115433.GE1756@master.mivlgu.local> (raw)
In-Reply-To: <200403250324.31415.iadzhubey@rics.bwh.harvard.edu>

On Thu, Mar 25, 2004 at 03:24:31AM -0500, Ivan Adzhubey wrote:
> size = [1..1024]
> shmblock = 0
> size = [1025..2047]
> shmblock = 4096
> size = [2048..4095]
> shmblock = 8192
> size = [4096..5119]
> shmblock = 16384
> 
> и тд.
> 
> Какое же это rounded up to a multiple of PAGE_SIZE, даже если например 
> PAGE_SIZE == 4096?

Это делает ipcs.  Кто-нибудь может пояснить происхождение патча
util-linux-2.11y-rh-ipcs-84243-86285.patch в пакете util-linux?

Правильные данные о размере можно найти в /proc/sysvipc/shm.  A
PAGE_SIZE на x86 действительно 4096.


           reply	other threads:[~2004-03-25 11:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200403250324.31415.iadzhubey@rics.bwh.harvard.edu>]

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=20040325115433.GE1756@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=devel@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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