[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] CPU Jitter RNG: inclusion into kernel crypto API and /dev/random

> >BTW: MFENCE is not guaranteed to flush the instruction pipeline; you
> >need CPUID for that.
> I was not aware of that. Can I simply call the CPUID instruction to read
> it or do I have to do something special?

Simply call CPUID (warning, it clobbers some registers.).

(cesky, pictures)

 \ /
  Last update: 2013-11-13 18:41    [W:0.100 / U:7.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site