diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
commit | 5bc65793cbf8da0d35f19ef025dda22887e79e80 (patch) | |
tree | 8291998abd73055de6f487fafa174ee2a5d3afee /init | |
parent | 6edae708bf77e012d855a7e2c7766f211d234f4f (diff) | |
parent | 3f0a6766e0cc5a577805732e5adb50a585c58175 (diff) |
[SCSI] Merge up to linux-2.6 head
Conflicts:
drivers/scsi/jazz_esp.c
Same changes made by both SCSI and SPARC trees: problem with UTF-8
conversion in the copyright.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 8 | ||||
-rw-r--r-- | init/main.c | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/init/Kconfig b/init/Kconfig index 4e009fde4b69..a9e99f8328ff 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -567,7 +567,6 @@ config SLAB | |||
567 | a slab allocator. | 567 | a slab allocator. |
568 | 568 | ||
569 | config SLUB | 569 | config SLUB |
570 | depends on EXPERIMENTAL && !ARCH_USES_SLAB_PAGE_STRUCT | ||
571 | bool "SLUB (Unqueued Allocator)" | 570 | bool "SLUB (Unqueued Allocator)" |
572 | help | 571 | help |
573 | SLUB is a slab allocator that minimizes cache line usage | 572 | SLUB is a slab allocator that minimizes cache line usage |
@@ -577,14 +576,11 @@ config SLUB | |||
577 | and has enhanced diagnostics. | 576 | and has enhanced diagnostics. |
578 | 577 | ||
579 | config SLOB | 578 | config SLOB |
580 | # | 579 | depends on EMBEDDED && !SPARSEMEM |
581 | # SLOB does not support SMP because SLAB_DESTROY_BY_RCU is unsupported | ||
582 | # | ||
583 | depends on EMBEDDED && !SMP && !SPARSEMEM | ||
584 | bool "SLOB (Simple Allocator)" | 580 | bool "SLOB (Simple Allocator)" |
585 | help | 581 | help |
586 | SLOB replaces the SLAB allocator with a drastically simpler | 582 | SLOB replaces the SLAB allocator with a drastically simpler |
587 | allocator. SLOB is more space efficient that SLAB but does not | 583 | allocator. SLOB is more space efficient than SLAB but does not |
588 | scale well (single lock for all operations) and is also highly | 584 | scale well (single lock for all operations) and is also highly |
589 | susceptible to fragmentation. SLUB can accomplish a higher object | 585 | susceptible to fragmentation. SLUB can accomplish a higher object |
590 | density. It is usually better to use SLUB instead of SLOB. | 586 | density. It is usually better to use SLUB instead of SLOB. |
diff --git a/init/main.c b/init/main.c index 1940fa75e82e..eb8bdbae4fc7 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -423,7 +423,7 @@ static void __init setup_command_line(char *command_line) | |||
423 | * gcc-3.4 accidentally inlines this function, so use noinline. | 423 | * gcc-3.4 accidentally inlines this function, so use noinline. |
424 | */ | 424 | */ |
425 | 425 | ||
426 | static void noinline rest_init(void) | 426 | static void noinline __init_refok rest_init(void) |
427 | __releases(kernel_lock) | 427 | __releases(kernel_lock) |
428 | { | 428 | { |
429 | int pid; | 429 | int pid; |