SHMALL in pages, not in bytes

Maxim Konovalov maxim at macomnet.ru
Tue Jun 17 14:51:27 UTC 2003


Hello,

I guess nobody will object to a diff below?

Index: sys/i386/conf/LINT
===================================================================
RCS file: /home/ncvs/src/sys/i386/conf/Attic/LINT,v
retrieving revision 1.749.2.144
diff -u -r1.749.2.144 LINT
--- sys/i386/conf/LINT	4 Jun 2003 17:56:59 -0000	1.749.2.144
+++ sys/i386/conf/LINT	17 Jun 2003 14:44:56 -0000
@@ -294,7 +294,7 @@
 # System V shared memory and tunable parameters
 options 	SYSVSHM		# include support for shared memory
 options 	SHMMAXPGS=1025	# max amount of shared memory pages (4k on i386)
-options 	SHMALL=1025	# max amount of shared memory (bytes)
+options 	SHMALL=1025	# max number of shared memory pages system wide
 options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
 				# max shared memory segment size (bytes)
 options 	SHMMIN=2	# min shared memory segment size (bytes)
%%%

-- 
Maxim Konovalov, maxim at macomnet.ru, maxim at FreeBSD.org



More information about the freebsd-doc mailing list