Re: [PATCH] i386: convert mm_context_t semaphore to a mutex

From: Luiz Fernando N. Capitulino
Date: Mon Aug 06 2007 - 16:37:48 EST


Em 06 Aug 2007 21:32:29 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> escreveu:

| "Luiz Fernando N. Capitulino" <lcapitulino@xxxxxxxxxxxxxxx> writes:
| >
| > I'll manage to test it then. Do you have a test-case or has any
| > suggestion?
|
| LTP has some simple test cases for modify_ldt

I've just ran them from a LTP suite from 2007/04/30:

"""
/usr/lib/ltp/testcases/kernel/syscalls/modify_ldt/ ./modify_ldt01
modify_ldt01 0 INFO : Enter block 1
modify_ldt01 0 INFO : block 1 PASSED
modify_ldt01 0 INFO : Exit block 1
modify_ldt01 0 INFO : Enter block 2
modify_ldt01 0 INFO : block 2 PASSED
modify_ldt01 0 INFO : Exit block 2
modify_ldt01 0 INFO : block 3 PASSED
modify_ldt01 0 INFO : Exit block 3
"""

"""
/usr/lib/ltp/testcases/kernel/syscalls/modify_ldt/ ./modify_ldt02
modify_ldt02 0 INFO : Enter block 1
modify_ldt02 0 INFO : block 1 PASSED
modify_ldt02 0 INFO : Exit block 1
modify_ldt02 0 INFO : Enter block 2
modify_ldt02 0 INFO : received signal: 11
modify_ldt02 0 INFO : block 2 PASSED
/usr/lib/ltp/testcases/kernel/syscalls/modify_ldt/
"""

All passed it seems.

Btw, I've send the same patch for x86_64 to you too.

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