From: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
To: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i386: convert mm_context_t semaphore to a mutex
Date: Mon, 6 Aug 2007 14:15:23 -0300 [thread overview]
Message-ID: <20070806141523.069b24b0@localhost> (raw)
In-Reply-To: <20070806152502.GA6988@elte.hu>
Em Mon, 6 Aug 2007 17:25:02 +0200
Ingo Molnar <mingo@elte.hu> escreveu:
|
| * Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> wrote:
|
| > | hm, looks good to me but i'm wondering why this was a holdout for
| > | such a long time :-) Did you manage to test actual LDT functionality
| > | with this patch applied?
| >
| > No, I didn't. The only test I did was to run the kernel with this
| > patch applied.
| >
| > I'll manage to test it then. Do you have a test-case or has any
| > suggestion?
|
| i think try any pthread program with:
|
| export LD_ASSUME_KERNEL=2.4.0
|
| should trigger the LDT code. Try stracing the code and modify_ldt calls
| should show up.
I couldn't run this because my libc requires 2.6 kernels.
But I've managed to run wine with a game called 'Align-it!', and
I have the following result:
"""
~/tmp/ egrep -c 'modify_ldt' wine-strace.txt
46
~/tmp/
"""
I've checked the calls and none has failed. Not sure how good
this test is though.
Maybe it could be more tested in -mm?
| > Oh, btw, I forgot to 'quilt add arch/i386/mm/fault.c' [...]
|
| heh. After a dozen of such incidents i scripted my editor command to
| automatically do the quilt add :)
Oh, that's a good tip.
Thanks a lot,
--
Luiz Fernando N. Capitulino
next prev parent reply other threads:[~2007-08-06 17:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 13:55 [PATCH] i386: convert mm_context_t semaphore to a mutex Luiz Fernando N. Capitulino
2007-08-06 7:46 ` Ingo Molnar
2007-08-06 13:34 ` Luiz Fernando N. Capitulino
2007-08-06 13:36 ` Luiz Fernando N. Capitulino
2007-08-06 15:25 ` Ingo Molnar
2007-08-06 17:15 ` Luiz Fernando N. Capitulino [this message]
2007-08-06 17:43 ` Ingo Molnar
2007-08-06 19:32 ` Andi Kleen
2007-08-06 20:36 ` Luiz Fernando N. Capitulino
2007-08-06 13:36 ` Luiz Fernando N. Capitulino
2007-08-06 21:10 ` Luiz Fernando N. Capitulino
2007-08-06 13:39 ` Luiz Fernando N. Capitulino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070806141523.069b24b0@localhost \
--to=lcapitulino@mandriva.com.br \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.