Re: [PATCH] mm: fix page_mkclean_one
From: Gordon Farquharson
Date: Thu Dec 28 2006  09:15:59 EST
On 12/28/06, Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
Fixing Linus' test program to pass nr & 255 to memset results in clean
passes on 2.6.9 on TheCus N2100 (IOP8032x) and 2.6.16.9 StrongARM
machines (as would be expected.)
Thanks for the fix, Russell.
I can now trigger the (real) problem by using a 25 MB file (100 << 18)
and the Linksys NSLU2 (ARM, IXP420 processor, 32 MB RAM).
$ ./linustest
Writing chunk 17954/17955 (99%)
Chunk 514 corrupted (01459) (8722331)
Expected 2, got 0
Written as (8479)11160(10312)
Chunk 516 corrupted (0303) (37924095)
Expected 4, got 0
Written as (10312)10569(4426)
Chunk 959 corrupted (0691) (34044095)
Expected 191, got 0
Written as (687)4881(1522)
Chunk 1895 corrupted (01459) (19003359)
Expected 103, got 0
Written as (7746)8389(6231)
Chunk 2702 corrupted (01459) (4721931)
Expected 142, got 0
Written as (4866)7103(2409)
Chunk 3314 corrupted (01459) (10642523)
Expected 242, got 0
Written as (4287)7064(1730)
Chunk 4043 corrupted (01459) (4441903)
Expected 203, got 0
Written as (6495)8509(4464)
Chunk 5180 corrupted (01459) (15843043)
Expected 60, got 0
Written as (11056)12826(10797)
Chunk 5672 corrupted (0991) (31044095)
Expected 40, got 0
Written as (9944)4872(41)
Chunk 5793 corrupted (4601459) (0999)
Expected 161, got 0
Written as (7059)5038(4377)
Chunk 6089 corrupted (01459) (16203079)
Expected 201, got 0
Written as (4672)5230(4403)
Chunk 6545 corrupted (2681459) (01191)
Expected 145, got 0
Written as (3701)5969(4668)
Chunk 7578 corrupted (01459) (5842043)
Expected 154, got 0
Written as (10015)5082(1648)
Chunk 7880 corrupted (8641459) (0595)
Expected 200, got 0
Written as (17869)5064(4745)
Chunk 8086 corrupted (01459) (8882347)
Expected 150, got 0
Written as (10206)11050(10374)
Chunk 8749 corrupted (01459) (22123671)
Expected 45, got 0
Written as (15263)7132(4825)
Chunk 9068 corrupted (01459) (10082467)
Expected 108, got 0
Written as (5557)7571(6771)
Chunk 9193 corrupted (8121459) (0647)
Expected 233, got 0
Written as (9238)7277(4757)
Chunk 10032 corrupted (5761459) (0883)
Expected 48, got 0
Written as (15741)10012(1753)
Chunk 10056 corrupted (01459) (16963155)
Expected 72, got 0
Written as (5379)7431(262)
Chunk 10395 corrupted (01459) (10202479)
Expected 155, got 0
Written as (21)7442(5902)
Chunk 10791 corrupted (01459) (16443103)
Expected 39, got 0
Written as (4753)5925(5926)
Chunk 10792 corrupted (0991) (31044095)
Expected 40, got 0
Written as (5925)5926(8555)
Chunk 11036 corrupted (01103) (29924095)
Expected 28, got 0
Written as (13755)14449(7458)
Chunk 11387 corrupted (6441459) (0815)
Expected 123, got 0
Written as (10853)11459(9445)
Chunk 11586 corrupted (9201459) (0539)
Expected 66, got 0
Written as (3769)11691(11123)
Chunk 11882 corrupted (01459) (11602619)
Expected 106, got 0
Written as (10736)11696(2788)
Chunk 12397 corrupted (0603) (34924095)
Expected 109, got 0
Written as (2352)7515(2437)
Chunk 12669 corrupted (0795) (33004095)
Expected 125, got 0
Written as (1191)7661(5266)
Chunk 13162 corrupted (01459) (21843643)
Expected 106, got 0
Written as (9383)13662(11544)
Chunk 14653 corrupted (027) (40684095)
Expected 61, got 0
Written as (8100)9456(1275)
Chunk 17332 corrupted (0367) (37284095)
Expected 180, got 0
Written as (760)12247(1244)
Chunk 17445 corrupted (01459) (7722231)
Expected 37, got 0
Written as (8007)16481(14439)
Chunk 17556 corrupted (01007) (30884095)
Expected 148, got 0
Written as (10113)10657(10477)
Chunk 17859 corrupted (0995) (31004095)
Expected 195, got 0
Written as (14472)14767(11426)
Checking chunk 17954/17955 (99%)
Gordon

Gordon Farquharson

To unsubscribe from this list: send the line "unsubscribe linuxkernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomoinfo.html
Please read the FAQ at http://www.tux.org/lkml/