Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151458
b: refs/heads/master
c: 33f65df
h: refs/heads/master
v: v3
  • Loading branch information
Vegard Nossum committed Jun 15, 2009
1 parent f4a6ccc commit d052492
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c175eea466e760de4b69b9aad90157e7aa9ff54f
refs/heads/master: 33f65df7ed1abcaac32ba620b9976a4d8cea3248
7 changes: 6 additions & 1 deletion trunk/crypto/xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ calibrate_xor_blocks(void)
void *b1, *b2;
struct xor_block_template *f, *fastest;

b1 = (void *) __get_free_pages(GFP_KERNEL, 2);
/*
* Note: Since the memory is not actually used for _anything_ but to
* test the XOR speed, we don't really want kmemcheck to warn about
* reading uninitialized bytes here.
*/
b1 = (void *) __get_free_pages(GFP_KERNEL | __GFP_NOTRACK, 2);
if (!b1) {
printk(KERN_WARNING "xor: Yikes! No memory available.\n");
return -ENOMEM;
Expand Down

0 comments on commit d052492

Please sign in to comment.