diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 21:16:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:38 -0400 |
commit | f9c98d0287de42221c624482fd4f8d485c98ab22 (patch) | |
tree | cc5653dcd2339b9006c224952b49f0c20b3c76a1 /arch/m68k/Kconfig | |
parent | 147efea8ebb034b48aee806caae1da9a2ee41b38 (diff) |
[PATCH] mm: m68k kill stram swap
Please, please now delete the Atari CONFIG_STRAM_SWAP code. It may be
excellent and ingenious code, but its reference to swap_vfsmnt betrays that it
hasn't been built since 2.5.1 (four years old come December), it's delving
deep into matters which are the preserve of core mm code, its only purpose is
to give the more conscientious mm guys an anxiety attack from time to time;
yet we keep on breaking it more and more.
If you want to use RAM for swap, then if the MTD driver does not already
provide just what you need, I'm sure David could be persuaded to add the
extra. But you'd also like to be able to allocate extents of that swap for
other use: we can give you a core interface for that if you need. But unbuilt
for four years suggests to me that there's no need at all.
I cannot swear the patch below won't break your build, but believe so.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/Kconfig')
-rw-r--r-- | arch/m68k/Kconfig | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index ba960bbc8e6d..1dd5d18b2201 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -388,33 +388,11 @@ config AMIGA_PCMCIA | |||
388 | Include support in the kernel for pcmcia on Amiga 1200 and Amiga | 388 | Include support in the kernel for pcmcia on Amiga 1200 and Amiga |
389 | 600. If you intend to use pcmcia cards say Y; otherwise say N. | 389 | 600. If you intend to use pcmcia cards say Y; otherwise say N. |
390 | 390 | ||
391 | config STRAM_SWAP | ||
392 | bool "Support for ST-RAM as swap space" | ||
393 | depends on ATARI && BROKEN | ||
394 | ---help--- | ||
395 | Some Atari 68k machines (including the 520STF and 1020STE) divide | ||
396 | their addressable memory into ST and TT sections. The TT section | ||
397 | (up to 512MB) is the main memory; the ST section (up to 4MB) is | ||
398 | accessible to the built-in graphics board, runs slower, and is | ||
399 | present mainly for backward compatibility with older machines. | ||
400 | |||
401 | This enables support for using (parts of) ST-RAM as swap space, | ||
402 | instead of as normal system memory. This can first enhance system | ||
403 | performance if you have lots of alternate RAM (compared to the size | ||
404 | of ST-RAM), because executable code always will reside in faster | ||
405 | memory. ST-RAM will remain as ultra-fast swap space. On the other | ||
406 | hand, it allows much improved dynamic allocations of ST-RAM buffers | ||
407 | for device driver modules (e.g. floppy, ACSI, SLM printer, DMA | ||
408 | sound). The probability that such allocations at module load time | ||
409 | fail is drastically reduced. | ||
410 | |||
411 | config STRAM_PROC | 391 | config STRAM_PROC |
412 | bool "ST-RAM statistics in /proc" | 392 | bool "ST-RAM statistics in /proc" |
413 | depends on ATARI | 393 | depends on ATARI |
414 | help | 394 | help |
415 | Say Y here to report ST-RAM usage statistics in /proc/stram. See | 395 | Say Y here to report ST-RAM usage statistics in /proc/stram. |
416 | the help for CONFIG_STRAM_SWAP for discussion of ST-RAM and its | ||
417 | uses. | ||
418 | 396 | ||
419 | config HEARTBEAT | 397 | config HEARTBEAT |
420 | bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40 | 398 | bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40 |