This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /usr/share/initramfs-tools/hook-functions | |
PREREQ="" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld_safe] | |
socket = /var/run/mysqld/mysqld.sock | |
nice = 0 | |
[mysqld] | |
user = mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cellar sb]# sysbench --test=fileio --file-total-size=18G --file-test-mode=rndrw --max-time=300 --max-requests=0 run | |
sysbench 0.4.12: multi-threaded system evaluation benchmark | |
Running the test with following options: | |
Number of threads: 1 | |
Extra file open flags: 0 | |
128 files, 144Mb each | |
18Gb total file size | |
Block size 16Kb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
print "Processing ${ARGV[0]}, filtering domain ${ARGV[1]}\n"; | |
open INPUT, ${ARGV[0]} or die $!; | |
open OUTPUT, ">${ARGV[0]}.filtered.xml" or die $!; | |
my $skip = 0; | |
while (my $line = <INPUT>) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u -r .//arch/alpha/include/asm/pgalloc.h ../linux-2.6.32/arch/alpha/include/asm/pgalloc.h | |
--- .//arch/alpha/include/asm/pgalloc.h 2009-12-03 06:51:21.000000000 +0300 | |
+++ ../linux-2.6.32/arch/alpha/include/asm/pgalloc.h 2012-07-22 21:06:48.000000000 +0400 | |
@@ -38,10 +38,15 @@ | |
} | |
static inline pmd_t * | |
+__pmd_alloc_one(struct mm_struct *mm, unsigned long address, gfp_t gfp_mask) | |
+{ | |
+ return (pmd_t *)__get_free_page(gfp_mask | __GFP_ZERO); |
NewerOlder