From 8e81df07a3e3ea7abc2159e9ebb5bef6b9caf68a Mon Sep 17 00:00:00 2001 From: wens Date: Tue, 8 Mar 2005 08:55:54 +0000 Subject: add support for hugetblpage of Linux 2.6 do not use this if you do not know what this is git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample') diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 6a1559c6..e847ab96 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -124,6 +124,9 @@ /* 使用 rfork()取代 fork() . 目前只在 FreeBSD上有效 */ //#define USE_RFORK +/* 使用 HUGETLB shared memory . 目前只在 Linux 上有效 */ +//#define USE_HUGETLB + /* 若定義, 則在刪除看板文章的時候, 僅會在 .DIR 中標明, 並不會將該資料 從 .DIR 中拿掉. 可以避免多項問題 (尤其是熱門看板一堆推薦及編輯時) 須配合使用 (尚未完成) */ -- cgit v1.2.3