nc100: turn on direct I/O and remove legacy EXEC
authorAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 20:26:27 +0000 (21:26 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 20:26:27 +0000 (21:26 +0100)
This speeds things up a ton by removing excess copies. As our I/O subsystem is
PCMCIA SRAM the disk speed is basically CPU speed so the excess caching is not
at all helpful!

Alan

Kernel/platform-nc100/config.h

index 1f3f2e4..39d00b1 100644 (file)
@@ -63,7 +63,5 @@
 #define BOOTDEVICE 0x0100      /* Only one possible option */
 #endif
 
-
-/* We need to fix rd_memcpy to handle user pages - or perhaps make the C code
-   figure out the page number and just pass it ?? */
-#define CONFIG_LEGACY_EXEC
\ No newline at end of file
+#define CONFIG_LARGE_IO_DIRECT /* Definite win as our I/O is as fast as a
+                                  memcpy! */