Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2017 20:55:28 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Mahdi Mokhtari <mmokhi@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r317884 - head/sys/compat/linprocfs
Message-ID:  <20170506175528.GZ1622@kib.kiev.ua>
In-Reply-To: <201705061737.v46Hb1Aq067178@repo.freebsd.org>
References:  <201705061737.v46Hb1Aq067178@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 06, 2017 at 05:37:01PM +0000, Mahdi Mokhtari wrote:
> +	do_cpuid(0x80000006, cache_size);

Executing CPUID instruction on i386 without checking for CPUID support
panics the kernel. Also, it is worth ensuring that the requested leaf is
supported, otherwise nonsensical data would be printed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170506175528.GZ1622>