lkml.org 
[lkml]   [2007]   [Aug]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 6 Aug 2007 17:36:38 -0300
From"Luiz Fernando N. Capitulino" <>
SubjectRe: [PATCH] i386: convert mm_context_t semaphore to a mutex
Em 06 Aug 2007 21:32:29 +0200
Andi Kleen <andi@firstfloor.org> escreveu:

| "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-06 20:41    [from the cache]
©2003-2008