Mike Travis
162a7e7500
printk: allocate kernel log buffer earlier
...
On larger systems, because of the numerous ACPI, Bootmem and EFI messages,
the static log buffer overflows before the larger one specified by the
log_buf_len param is allocated. Minimize the overflow by allocating the
new log buffer as soon as possible.
On kernels without memblock, a later call to setup_log_buf from
kernel/init.c is the fallback.
[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix CONFIG_PRINTK=n build]
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-25 08:39:48 -07:00
..
2011-03-31 11:26:23 -03:00
2011-05-19 18:14:34 -07:00
2011-03-20 18:14:55 -07:00
2011-05-25 08:39:45 -07:00
2011-05-17 23:26:00 +02:00
2011-05-23 13:59:54 +02:00
2011-05-19 17:41:22 -07:00
2011-03-31 11:26:23 -03:00
2011-03-14 09:15:23 -04:00
2011-03-03 10:55:40 -08:00
2010-10-30 01:42:19 -04:00
2011-03-03 10:55:40 -08:00
2011-04-27 15:11:03 +02:00
2011-03-23 19:46:28 -07:00
2011-05-19 18:51:57 +10:00
2010-10-27 18:03:08 -07:00
2011-05-07 22:50:47 -07:00
2011-04-28 13:01:38 +02:00
2010-10-15 15:53:27 +02:00
2011-03-31 11:26:23 -03:00
2011-04-11 14:09:32 +02:00
2011-03-23 19:47:19 -07:00
2011-05-19 18:51:57 +10:00
2011-05-20 13:33:21 -07:00
2011-05-20 08:56:56 +02:00
2011-05-25 08:39:21 -07:00
2011-05-17 23:19:17 +02:00
2011-03-23 19:47:08 -07:00
2011-04-15 16:34:32 +02:00
2011-03-23 19:47:08 -07:00
2011-05-23 13:59:54 +02:00
2011-04-28 09:13:17 +02:00
2010-12-18 15:54:48 +01:00
2011-04-04 12:48:08 -04:00
2011-03-25 17:52:22 -07:00
2011-04-10 17:01:05 +02:00
2011-05-11 21:37:15 +02:00
2010-10-01 10:50:58 -07:00
2011-05-24 22:55:24 +10:00
2011-01-07 17:02:58 -08:00
2011-04-19 16:45:51 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-23 13:54:47 +01:00
2011-04-22 11:06:59 +02:00
2011-05-03 15:26:43 +02:00
2011-05-23 12:49:28 -07:00
2011-04-14 08:52:33 +02:00
2011-04-14 08:52:33 +02:00
2011-05-25 08:39:17 -07:00
2011-04-14 08:52:33 +02:00
2010-10-27 18:03:09 -07:00
2011-03-23 19:47:08 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:11 -07:00
2011-05-19 16:55:28 +09:30
2011-03-23 19:46:58 -07:00
2011-04-18 10:35:30 -07:00
2011-04-10 17:01:05 +02:00
2011-05-23 13:59:54 +02:00
2011-05-23 13:59:54 +02:00
2011-05-25 08:39:48 -07:00
2010-10-31 09:47:26 +01:00
2011-05-20 13:33:21 -07:00
2010-11-12 07:55:31 -08:00
2011-05-05 23:16:57 -07:00
2011-05-05 23:16:58 -07:00
2011-05-20 12:50:29 -07:00
2011-05-05 23:16:57 -07:00
2011-05-19 23:25:29 +02:00
2011-05-19 23:25:29 +02:00
2011-05-20 12:50:29 -07:00
2011-05-19 23:25:29 +02:00
2010-11-05 08:21:34 -07:00
2011-03-23 19:46:22 -07:00
2010-12-17 10:01:09 -08:00
2011-01-27 21:13:51 -05:00
2011-01-27 21:13:51 -05:00
2011-02-22 22:07:22 +01:00
2011-01-27 21:13:51 -05:00
2011-03-31 11:26:23 -03:00
2011-02-23 11:33:59 +01:00
2010-11-23 10:29:08 +01:00
2011-04-24 13:18:38 +02:00
2011-05-20 14:16:50 +02:00
2011-04-14 08:52:41 +02:00
2011-04-14 08:52:36 +02:00
2011-05-19 17:41:22 -07:00
2010-10-24 13:29:01 +02:00
2011-04-14 08:52:36 +02:00
2011-05-23 12:53:48 -07:00
2011-05-20 13:33:21 -07:00
2011-03-22 17:44:11 -07:00
2011-05-05 23:16:54 -07:00
2011-01-14 04:56:49 -08:00
2011-03-22 17:44:01 -07:00
2011-05-20 13:53:02 -07:00
2011-05-19 18:24:11 -07:00
2011-03-14 09:15:28 -04:00
2011-03-23 19:46:51 -07:00
2011-05-24 22:55:24 +10:00
2011-03-23 19:47:14 -07:00
2010-10-14 08:55:27 +02:00
2011-03-15 18:53:35 -07:00
2011-03-15 18:53:35 -07:00
2011-04-04 12:48:08 -04:00
2010-10-27 18:03:17 -07:00
2011-03-23 19:47:08 -07:00
2011-01-13 08:03:18 -08:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:46:59 -07:00
2011-03-23 19:47:03 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 21:07:40 -07:00
2011-05-24 11:53:42 -07:00