Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /drivers/md/xor.c

Filename:/drivers/md/xor.c
Lines Added:1
Lines Deleted:2
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.0-ac12  2.4.0-ac11  2.4.0-ac10 
(Following) 2.4.9-ac16  2.4.9-ac17  2.4.9-ac18  2.4.10-ac1  2.4.10-ac2  2.4.10-ac3 

Location
[  2.4.1
  [  drivers
    [  md
       o  xor.c

Patch

diff -u --recursive --new-file v2.4.0/linux/drivers/md/xor.c linux/drivers/md/xor.c
--- v2.4.0/linux/drivers/md/xor.c   Tue Dec  5 12:43:47 2000
+++ linux/drivers/md/xor.c   Mon Jan 22 14:49:36 2001
@@ -57,8 +57,7 @@
 /* Set of all registered templates.  */
 static struct xor_block_template *template_list;
 
-/* The -6*32 shift factor colors the cache.  */
-#define BENCH_SIZE (PAGE_SIZE-6*32)
+#define BENCH_SIZE (PAGE_SIZE)
 
 static void
 do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.