All of lore.kernel.org
 help / color / mirror / Atom feed
From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 doc/example.conf.in lib/config/defaults.h
Date: 11 Oct 2011 09:13:40 -0000	[thread overview]
Message-ID: <20111011091340.4881.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2011-10-11 09:13:39

Modified files:
	doc            : example.conf.in 
	lib/config     : defaults.h 

Log message:
	Reduce preallocated stack size
	
	Go with just 64KiB for stack.
	
	Closer inspection should be made, whether we actually need to play with
	settings at all.
	
	Since default stack size is 8MB and gets mapped via page locking thus,
	it seems there is no big help with preallocation of stack to some value.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/doc/example.conf.in.diff?cvsroot=lvm2&r1=1.33&r2=1.34
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.84&r2=1.85

--- LVM2/doc/example.conf.in	2011/10/04 20:49:24	1.33
+++ LVM2/doc/example.conf.in	2011/10/11 09:13:39	1.34
@@ -481,7 +481,8 @@
     missing_stripe_filler = "error"
 
     # How much stack (in KB) to reserve for use while devices suspended
-    reserved_stack = 256
+    # Prior to version 2.02.89 this used to be set to 256KB
+    reserved_stack = 64
 
     # How much memory (in KB) to reserve for use while devices suspended
     reserved_memory = 8192
--- LVM2/lib/config/defaults.h	2011/09/22 17:39:57	1.84
+++ LVM2/lib/config/defaults.h	2011/10/11 09:13:39	1.85
@@ -116,7 +116,7 @@
 #ifdef DEVMAPPER_SUPPORT
 #  define DEFAULT_ACTIVATION 1
 #  define DEFAULT_RESERVED_MEMORY 8192
-#  define DEFAULT_RESERVED_STACK 256
+#  define DEFAULT_RESERVED_STACK 64 /* KB */
 #  define DEFAULT_PROCESS_PRIORITY -18
 #else
 #  define DEFAULT_ACTIVATION 0



                 reply	other threads:[~2011-10-11  9:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20111011091340.4881.qmail@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.