Arjan van de Ven 75cbade8ea x86: a new API for drivers/etc to control cache and other page attributes
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX status as well etc etc etc.

This patch introduces a set of new APIs for this, set_pages_<attr> and
set_memory_<attr>, that offer a logical change to the user, and leave all
attributes not implied by the requested logical change alone.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-30 13:34:06 +01:00
..
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2007-10-23 22:37:23 +02:00
2007-10-17 20:17:12 +02:00
2008-01-30 13:31:24 +01:00
2007-10-17 20:17:13 +02:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:17:15 +02:00
2008-01-30 13:33:11 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:17 +02:00
2008-01-30 13:31:14 +01:00
2008-01-30 13:31:51 +01:00
2007-10-23 22:37:23 +02:00
2007-10-22 21:20:01 +02:00
2007-10-16 11:26:02 +02:00
2008-01-30 13:30:20 +01:00
2008-01-30 13:33:32 +01:00
2008-01-30 13:33:08 +01:00
2007-10-17 20:17:19 +02:00
2008-01-30 13:34:05 +01:00
2008-01-30 13:33:16 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2008-01-30 13:33:48 +01:00
2008-01-30 13:31:19 +01:00
2007-10-17 20:24:56 +02:00
2008-01-30 13:30:20 +01:00
2008-01-30 13:33:09 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:30:46 +01:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:26:11 +02:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:16 +01:00
2008-01-30 13:31:26 +01:00
2008-01-30 13:31:27 +01:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:33:00 +01:00
2008-01-30 13:31:26 +01:00
2008-01-30 13:31:55 +01:00
2007-10-17 20:26:15 +02:00
2008-01-30 13:31:43 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:36 +01:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:34:05 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:31:25 +01:00
2008-01-30 13:32:53 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:42 +01:00
2008-01-30 13:33:42 +01:00
2008-01-30 13:34:04 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2008-01-30 13:33:00 +01:00
2007-10-17 20:17:08 +02:00
2008-01-30 13:33:00 +01:00
2007-10-17 08:42:47 -07:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:31:21 +01:00
2008-01-30 13:33:00 +01:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:31:12 +01:00
2007-10-17 20:26:18 +02:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:33:24 +01:00
2007-10-17 20:32:07 +02:00
2008-01-30 13:31:42 +01:00
2007-10-17 20:16:36 +02:00
2007-10-17 20:32:38 +02:00
2008-01-30 13:30:42 +01:00
2008-01-30 13:32:39 +01:00