lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 7 Jan 2007 17:11:31 +0200
From:	"Yitzchak Eidus" <ieidus@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: controling on witch cpu part of module code exectue

i am writing a module that have to make use in the vmx operations,
to enable vmx operations i have to set bit 13 (vmxe bit) in the
control registetr cr4 to 1.
doing so in a uni cpu platform is not a problem, the question is what
to do when working on smp system?
to make all the cpus in the smp system support the vmx operations i
have to set the that bit in cr4 in each one of them to 1.
running the code servel times might always run on just one cpu and
therefor not set any other cpu cr4 register to this value.
what i ask is:how to control in dynamic runtime on witch cpu ~parts~
of the code will run...
(the question isnt about if there is a simpler way to set up all the
cr4 registers in smp system, but it is more interesting to me how to
control in dynamic runtime on witch cpu code will exectue in kernel
mode)
thanks!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ