Bob Picco
e984bb43f7
[PATCH] Align the node_mem_map endpoints to a MAX_ORDER boundary
...
Andy added code to buddy allocator which does not require the zone's
endpoints to be aligned to MAX_ORDER. An issue is that the buddy allocator
requires the node_mem_map's endpoints to be MAX_ORDER aligned. Otherwise
__page_find_buddy could compute a buddy not in node_mem_map for partial
MAX_ORDER regions at zone's endpoints. page_is_buddy will detect that
these pages at endpoints are not PG_buddy (they were zeroed out by bootmem
allocator and not part of zone). Of course the negative here is we could
waste a little memory but the positive is eliminating all the old checks
for zone boundary conditions.
SPARSEMEM won't encounter this issue because of MAX_ORDER size constraint
when SPARSEMEM is configured. ia64 VIRTUAL_MEM_MAP doesn't need the logic
either because the holes and endpoints are handled differently. This
leaves checking alloc_remap and other arches which privately allocate for
node_mem_map.
Signed-off-by: Bob Picco <bob.picco@hp.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-21 12:59:22 -07:00
..
2006-03-26 23:13:39 +01:00
2006-05-19 21:48:03 +01:00
2006-03-31 12:18:48 -08:00
2006-05-01 20:48:32 -07:00
2006-05-03 23:19:59 -07:00
2006-04-01 02:22:54 -08:00
2006-03-27 08:44:43 -08:00
2006-04-11 06:18:30 -07:00
2006-05-16 14:33:57 -07:00
2006-04-19 12:43:47 -04:00
2006-04-14 11:12:25 -07:00
2006-03-27 08:44:50 -08:00
2006-05-01 06:10:04 -04:00
2006-03-27 08:44:40 -08:00
2006-03-31 12:19:00 -08:00
2006-03-26 08:57:15 -08:00
2006-04-13 10:13:15 -05:00
2006-04-09 11:53:16 -07:00
2006-03-26 08:57:01 -08:00
2006-03-28 09:16:05 -08:00
2006-03-25 18:15:24 +00:00
2006-03-28 09:16:06 -08:00
2006-03-27 08:44:59 -08:00
2006-03-27 08:44:49 -08:00
2006-03-28 09:16:04 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:19:00 -08:00
2006-04-27 13:08:56 -07:00
2006-03-27 08:44:59 -08:00
2006-05-06 17:55:11 -07:00
2006-03-27 08:44:59 -08:00
2006-05-10 14:04:22 -07:00
2006-03-25 09:10:54 -08:00
2006-03-26 08:56:54 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:18:54 -08:00
2006-03-31 12:19:00 -08:00
2006-05-21 12:59:19 -07:00
2006-05-03 23:06:44 +10:00
2006-04-11 15:47:07 +02:00
2006-05-21 12:59:19 -07:00
2006-03-25 09:24:53 -08:00
2006-03-27 08:44:50 -08:00
2006-04-02 00:08:05 -05:00
2006-04-14 11:41:24 -07:00
2006-04-11 06:18:35 -07:00
2006-03-26 08:57:05 -08:00
2006-03-26 08:56:53 -08:00
2006-03-26 08:56:56 -08:00
2006-04-02 13:59:55 +02:00
2006-03-28 09:16:06 -08:00
2006-03-27 08:44:51 -08:00
2006-03-26 08:57:00 -08:00
2006-04-19 09:13:53 -07:00
2006-03-28 18:36:41 -08:00
2006-04-09 11:53:16 -07:00
2006-04-29 01:13:21 -04:00
2006-03-26 08:56:56 -08:00
2006-03-31 12:18:54 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:55 -08:00
2006-04-09 11:53:53 -07:00
2006-04-02 00:10:28 -05:00
2006-03-28 09:16:05 -08:00
2006-05-15 11:20:55 -07:00
2006-04-02 00:10:28 -05:00
2006-04-27 13:08:56 -07:00
2006-03-26 08:57:03 -08:00
2006-04-11 06:18:41 -07:00
2006-04-10 14:15:47 -04:00
2006-04-29 18:33:15 -07:00
2006-03-27 08:44:52 -08:00
2006-04-20 07:54:04 -07:00
2006-03-27 08:44:50 -08:00
2006-03-26 08:57:00 -08:00
2006-03-31 12:18:49 -08:00
2006-03-28 09:16:05 -08:00
2006-04-10 10:16:37 -07:00
2006-05-21 12:59:22 -07:00
2006-04-26 00:14:19 -04:00
2006-03-28 09:16:06 -08:00
2006-04-19 04:14:19 +02:00
2006-03-31 12:19:01 -08:00
2006-03-28 09:16:06 -08:00
2006-05-10 13:21:17 -07:00
2006-04-09 22:25:41 -07:00
2006-04-09 22:25:41 -07:00
2006-04-09 22:25:41 -07:00
2006-05-01 06:09:58 -04:00
2006-03-28 09:16:06 -08:00
2006-03-27 08:44:47 -08:00
2006-03-27 08:44:50 -08:00
2006-04-11 06:18:39 -07:00
2006-03-28 09:16:05 -08:00
2006-04-11 06:18:32 -07:00
2006-04-27 08:59:48 +02:00
2006-04-19 09:13:53 -07:00
2006-04-14 12:25:25 -07:00
2006-03-27 08:44:48 -08:00
2006-03-31 12:19:00 -08:00
2006-05-04 06:55:12 +02:00
2006-04-14 12:25:26 -07:00
2006-04-14 11:41:25 -07:00
2006-03-28 09:16:04 -08:00
2006-04-11 06:18:42 -07:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-05-15 11:20:55 -07:00
2006-03-28 09:16:06 -08:00
2006-03-27 08:44:51 -08:00
2006-04-19 09:13:49 -07:00
2006-04-11 06:18:54 -07:00
2006-05-01 06:09:56 -04:00
2006-05-01 06:09:58 -04:00
2006-04-11 06:38:57 -07:00
2006-03-25 23:03:13 +00:00
2006-04-30 11:13:50 +01:00
2006-04-02 00:08:05 -05:00
2006-04-28 08:33:46 -07:00
2006-04-20 00:10:50 -07:00
2006-05-15 11:20:56 -07:00
2006-03-26 08:56:55 -08:00
2006-03-28 09:16:05 -08:00
2006-03-26 08:57:00 -08:00
2006-03-26 08:57:00 -08:00
2006-04-11 06:18:40 -07:00
2006-05-15 11:20:56 -07:00
2006-03-28 09:16:02 -08:00
2006-04-26 10:59:21 +02:00
2006-04-14 11:41:24 -07:00
2006-03-27 08:44:49 -08:00
2006-03-26 08:57:03 -08:00
2006-03-31 12:18:52 -08:00
2006-03-26 08:56:57 -08:00
2006-03-31 12:18:56 -08:00
2006-03-27 08:44:43 -08:00
2006-04-11 06:18:41 -07:00
2006-03-26 08:57:00 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:05 -08:00
2006-04-11 06:18:45 -07:00
2006-04-02 04:56:04 -03:00