mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
[PATCH] x86_64: Add boot option to disable randomized mappings and cleanup
AMD SimNow!'s JIT doesn't like them at all in the guest. For distribution installation it's easiest if it's a boot time option. Also I moved the variable to a more appropiate place and make it independent from sysctl And marked __read_mostly which it is. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
99019e9199
commit
a62eaf151d
6 changed files with 16 additions and 8 deletions
|
@ -126,8 +126,6 @@ extern int sysctl_hz_timer;
|
|||
extern int acct_parm[];
|
||||
#endif
|
||||
|
||||
int randomize_va_space = 1;
|
||||
|
||||
static int parse_table(int __user *, int, void __user *, size_t __user *, void __user *, size_t,
|
||||
ctl_table *, void **);
|
||||
static int proc_doutsstring(ctl_table *table, int write, struct file *filp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue