aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2009-05-14 08:49:37 +0100
committerEric B Munson <ebmunson@us.ibm.com>2009-05-15 09:55:50 +0100
commit7968eaa2cf4bdd3d2907fb4ed2bd7a56ac9aa9e3 (patch)
tree790340ad81f0519bbcc29a85e460f48a0de7d16d /tests
parent6673da41773f28675a12ffa994170be8fa798a1f (diff)
downloadlibhugetlbfs-7968eaa2cf4bdd3d2907fb4ed2bd7a56ac9aa9e3.tar.gz
Record what commit fixes the kernelregressions for readahead and the advise tests
The upstream kernel now has one fix that covers the readahead, fadvise and madvise bugs. Record what commit fixes the problem in the test in case they need to be found for backporting later. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fadvise_reserve.c1
-rw-r--r--tests/madvise_reserve.c2
-rw-r--r--tests/readahead_reserve.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/fadvise_reserve.c b/tests/fadvise_reserve.c
index 3ef45f2..9d72677 100644
--- a/tests/fadvise_reserve.c
+++ b/tests/fadvise_reserve.c
@@ -36,6 +36,7 @@
* reservation but not faulted in at the time of allocation. The
* counters do not get updated and effectively "leak". This test
* identifies whether the kernel is vunerable to the problem or not.
+ * It's fixed in kernel by commit f2deae9d4e70793568ef9e85d227abb7bef5b622.
*/
int main(int argc, char *argv[])
{
diff --git a/tests/madvise_reserve.c b/tests/madvise_reserve.c
index 3509d40..2f7bd67 100644
--- a/tests/madvise_reserve.c
+++ b/tests/madvise_reserve.c
@@ -34,7 +34,7 @@
* reservation but not faulted in at the time of allocation. The
* counters do not get updated and effectively "leak". This test
* identifies whether the kernel is vunerable to the problem or not.
- * It is fixed in kernel by commit a425a638c858fd10370b573bde81df3ba500e271
+ * It is fixed in kernel by commit f2deae9d4e70793568ef9e85d227abb7bef5b622
*/
int main(int argc, char *argv[])
{
diff --git a/tests/readahead_reserve.c b/tests/readahead_reserve.c
index 74547a1..d0a478b 100644
--- a/tests/readahead_reserve.c
+++ b/tests/readahead_reserve.c
@@ -36,6 +36,7 @@
* reservation but not faulted in at the time of allocation. The
* counters do not get updated and effectively "leak". This test
* identifies whether the kernel is vunerable to the problem or not.
+ * It's fixed in kernel by commit f2deae9d4e70793568ef9e85d227abb7bef5b622.
*/
int main(int argc, char *argv[])
{