diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-03-12 02:53:29 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 15:41:30 (GMT) |
commit | c9caa02c529d5e113e40cbc77254558fcdfa4215 (patch) | |
tree | cb3f9f5a5d26bf7df542a61bfb524e886d8c6510 /lib | |
parent | cc6150321903ca4c3bc9d53b0cdafb05d77d64d0 (diff) | |
download | linux-c9caa02c529d5e113e40cbc77254558fcdfa4215.tar.xz |
x86: add set_memory_4k to pageattr.c
Add a new function to force split large pages into 4k pages.
This is needed for some followup optimizations.
I had to add a new field to cpa_data to pass down the information
that try_preserve_large_page should not run.
Right now no set_page_4k() because I didn't need it and all the
specialized users I have in mind would be more comfortable with
pure addresses. I also didn't export it because it's unlikely
external code needs it.
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: andreas.herrmann3@amd.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions