/[base]
ViewVC logotype

Revision 308538


Jump to revision: Previous Next
Author: kib
Date: Fri Nov 11 18:57:41 2016 UTC (7 years, 7 months ago)
Changed paths: 1
Log Message:
Increase the max allowed size of the microcode update blob for x86.

Newer CPUs (SkyLakes) have updates of 100K size, which is bigger than
current limit 32K. Increase it to 4M but leave the check around to
prevent kernel memory allocator abuse.  Some time ago, the memory for
update was allocated by contigmalloc(9), and it was reasonable to be
conservative as much as possible.  Since all uses of contigmalloc(9)
appear to be either misunderstanding or too cautious, and were
removed, provide more slack than strictly neccessary.

Submitted by:	Oliver Pinter
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D8486


Changed paths

Path Details
Directoryhead/sys/dev/cpuctl/cpuctl.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27