update
[lttv.git] / markers-test / test-mark-speed.c
index 7509f3cec6026187beb5171451fea3c0b5fb0004..dcea38e0f5fd1b9f8dc396db79d4ae33f37da659 100644 (file)
@@ -52,8 +52,9 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+char temp0[8192];
 int temp __cacheline_aligned = 10;
-int temp2 __cacheline_aligned = 10;
+char temp2[8192];
 
 static inline void test(unsigned long arg, unsigned long arg2)
 {
@@ -62,7 +63,9 @@ static inline void test(unsigned long arg, unsigned long arg2)
 #endif
        temp = (temp + 60) << 10;
        //asm volatile ("");
+       barrier();
        __my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
+       barrier();
        //__my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
 }
 
This page took 0.024109 seconds and 4 git commands to generate.