ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Re: [sisyphus] Shared memory - HELP PLEASE!
  @ 2004-03-25 11:54       ` Sergey Vlasov
  0 siblings, 0 replies; only message in thread
From: Sergey Vlasov @ 2004-03-25 11:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list; +Cc: devel

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-25 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 11:54       ` [devel] Re: [sisyphus] Shared memory - HELP PLEASE! Sergey Vlasov

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