lkml.org 
[lkml]   [2001]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: More fun with fsx.
From
   From: Dave Jones <davej@suse.de>
Date: Mon, 17 Dec 2001 15:30:32 +0100 (CET)

On Mon, 17 Dec 2001, Trond Myklebust wrote:

> However, 2 races + 4 bugs observed is already pretty much a record for
> a single program. Kudos to the NeXT developers...

Indeed. It's a really neat tool, we could use more like it.

It also is good at finding cache flushing bugs on platforms
where that is an issue :-)

BTW, here is a portability fix for fsx-linux.c :-)

--- fsx-linux.c.~1~ Mon Dec 17 16:24:11 2001
+++ fsx-linux.c Mon Dec 17 16:28:19 2001
@@ -67,7 +67,7 @@
#define OP_SKIPPED 7

#ifndef PAGE_SIZE
-#define PAGE_SIZE 4096
+#define PAGE_SIZE getpagesize()
#endif
#define PAGE_MASK (PAGE_SIZE - 1)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.082 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site