lkml.org 
[lkml]   [2012]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wrong defaults in 3.7-rc3
On 11/15/2012 03:06 AM, Pavel Machek wrote:
> Hi!
>
> Supervisor Mode Access Prevention (X86_SMAP) [Y/n/?] (NEW)
>
> ...Slows stuff down, eats memory, only works on unreleased Intel CPUs
> (from 2013!) perhaps should be off by default?
>
> "Supervisor Mode Access Prevention (SMAP) is a security
> feature in newer Intel processors. There is a small
> performance cost if this enabled and turned on; there is
> also a small increase in the kernel size if this is enabled."
>

*Extremely* small. Unless you are targeting a specific processor there
is no point in disabling it. If anyone can find a non-SMAP processor on
which the overhead is measurable I would be highly surprised, except
perhaps some embedded 486 clone.

-hpa




\
 
 \ /
  Last update: 2012-11-16 23:21    [W:5.914 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site