S3: Allow SMBD processes to survive in low memory condidtions
authortodd stecher <todd.stecher@gmail.com>
Wed, 18 Feb 2009 00:16:35 +0000 (16:16 -0800)
committerSteven Danneman <steven.danneman@isilon.com>
Thu, 19 Feb 2009 02:08:32 +0000 (18:08 -0800)
commitc441f58dedc465f59060296815a0bc7f9aeb743f
treef6443ed770146ba26e9c09370c1a9bddc22252fe
parentcdcd525a05ce851dcb338dfa8c9be3009194aa96
S3: Allow SMBD processes to survive in low memory condidtions

This commit adds a configure argument which allows for setting MADV_PROTECT
in the madvise() API.  With this enabled the kernel won't kill SMBD when
it's running low on memory.
source3/configure.in
source3/include/includes.h
source3/smbd/server.c