From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751226AbdBIE0o (ORCPT ); Wed, 8 Feb 2017 23:26:44 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35233 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdBIE0n (ORCPT ); Wed, 8 Feb 2017 23:26:43 -0500 Date: Wed, 8 Feb 2017 20:26:29 -0800 From: Eric Biggers To: Hoeun Ryu Cc: Kees Cook , Michal Marek , Andrew Morton , Emese Revfy , Ingo Molnar , =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , Nicholas Piggin , Andy Lutomirski , Michal Hocko , "Eric W. Biederman" , Mateusz Guzik , linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [kernel-hardening] [PATCH v2 2/2] fork: make number of cached stacks (vmapped) configurable using Kbuild Message-ID: <20170209042629.GB4311@zzz> References: <1486613040-30555-1-git-send-email-hoeun.ryu@gmail.com> <1486613040-30555-2-git-send-email-hoeun.ryu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486613040-30555-2-git-send-email-hoeun.ryu@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 09, 2017 at 01:03:47PM +0900, Hoeun Ryu wrote: > +config NR_VMAP_STACK_CACHE > + int "Number of cached stacks" > + default "2" > + depends on VMAP_STACK > + help > + This determines how many stacks can be cached for virtually > + mapped kernel stacks. > + Can you explain in the help text under what circumstances someone should change this, and to what value? As-is, it seems like somewhat of a useless config option which no one will ever change. - Eric