All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@linux.intel.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>, mchehab@redhat.com
Subject: Re: Wrong defaults in 3.7-rc3
Date: Fri, 16 Nov 2012 13:32:22 -0800	[thread overview]
Message-ID: <50A6B0E6.2010608@linux.intel.com> (raw)
In-Reply-To: <20121115110620.GA3451@elf.ucw.cz>

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



      parent reply	other threads:[~2012-11-16 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15 11:06 Wrong defaults in 3.7-rc3 Pavel Machek
2012-11-15 11:43 ` Mauro Carvalho Chehab
2012-11-16 21:32 ` H. Peter Anvin [this message]

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=50A6B0E6.2010608@linux.intel.com \
    --to=hpa@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=pavel@ucw.cz \
    /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.