Re: FreeBSD Security Advisory FreeBSD-SA-05:09.htt [REVISED]

From: Colin Percival (cperciva_at_freebsd.org)
Date: 05/14/05

  • Next message: Poul-Henning Kamp: "Re: FreeBSD Security Advisory FreeBSD-SA-05:09.htt [REVISED]"
    Date: Sat, 14 May 2005 03:14:50 -0400
    To: Chris <chrcoluk@gmail.com>
    
    

    Chris wrote:
    > I am somewhat confused by applying the patch, does this disable HTT
    > functionality? or does a patched server close the issue and keep HTT
    > enabled?

    The patch adds a new loader tunable, machdep.hyperthreading_allowed,
    which is set to 0 by default. Regardless of how you try to set the
    machdep.hlt_cpus_mask and machdep.hlt_logical_cpus sysctls, if
    machdep.hyperthreading_allowed is set to zero then you will not
    have any process threads executing on the second hyper-thread from
    each core.

    If you're on a system where this isn't a problem (e.g., anything with
    no local users), you can set machdep.hyperthreading_allowed=1 in
    /boot/loader.conf or via the sysctl after booting, and get the benefit
    of hyperthreading.

    Colin Percival
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Poul-Henning Kamp: "Re: FreeBSD Security Advisory FreeBSD-SA-05:09.htt [REVISED]"

    Relevant Pages

    • Re: FreeBSD Security Advisory FreeBSD-SA-05:09.htt [REVISED]
      ... >I am somewhat confused by applying the patch, does this disable HTT ... or does a patched server close the issue and keep HTT ... It disabled HTT functionality. ...
      (FreeBSD-Security)
    • Jail sysctls and new flags to sysctls.
      ... This patch adds sysctls for every jails. ... when jail is created and destroyed when jail is removed. ... Jail's securelevel could be even downgraded if it stay bigger or equal ...
      (freebsd-hackers)
    • Re: [RFC][PATCH 1/6] prepare sysctls for containers
      ... sysctls can only deal with global variables. ... patch makes them a _little_ more flexible by allowing there to ... be an accessor function to get at the variable being changed, ... sysctl_table - it's already choke-full of it and needs to be simplified, ...
      (Linux-Kernel)
    • [RFC] Update sysctl documentation
      ... I've updated all the documentation concerning sysctls. ... the formatting I've choosen is to recreate the structure ... The patch is diffed against current Linus' tree (I can rediff against ...
      (Linux-Kernel)
    • Re: [RFC][PATCH 4/5] utsname namespaces: sysctl hack
      ... can we do nothing with sysctls at this moment, instead of commiting hacks? ... Please look closer at the patch. ... I *am* doing nothing with sysctls. ...
      (Linux-Kernel)