All of lore.kernel.org
 help / color / mirror / Atom feed
From: John David Anglin <dave.anglin@bell.net>
To: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: linux-parisc <linux-parisc@vger.kernel.org>
Subject: Re: tst-cputimer1 and tst-timer4
Date: Fri, 08 Jul 2011 11:18:33 -0400	[thread overview]
Message-ID: <4E171FC9.3070505@bell.net> (raw)
In-Reply-To: <201107081700.19668.eike-kernel@sf-tec.de>

On 7/8/2011 11:00 AM, Rolf Eike Beer wrote:
> Am Mittwoch 06 Juli 2011, 00:17:03 schrieben Sie:
>> On Tue, Jul 5, 2011 at 1:51 PM, Rolf Eike Beer<eike@sf-mail.de>  wrote:
>>> Am Dienstag 05 Juli 2011, 19:28:35 schrieben Sie:
>>>> On Mon, Jul 4, 2011 at 2:59 PM, Carlos O'Donell
>>>> <carlos@systemhalted.org>
>>> wrote:
>>>>> On Mon, Jul 4, 2011 at 2:50 PM, John David Anglin
>>>>> <dave.anglin@bell.net>
>>> wrote:
>>>>>> The Linux man page says the mprotect addr must be a valid pointer or
>>>>>> a multiple of PAGESIZE.
>>>>>> It's not clear what the mprotect call is trying to protect but it is
>>>>>> definitely not page aligned.
>>>>> It's trying to protect the new stack for the thread, which is
>>>>> obviously in the wrong spot.
>>>> Good news.
>>>>
>>>> I have fixed tst-cputimer1.
>>> You also wrote "OK, fixed the kernel." So where an when will these fixes
>>> show up?
>> Unfortunately I hosed my setup and I didn't have git installed to make
>> a proper diff so here's a diff versus a somewhat recent tree.
>>
>>   WIP patch: http://www.parisc-linux.org/~carlos/futex.diff
> Half of your diff (e.g. the int->u32 conversion) is already in upstream. I've
> rediffed it against Linus tree and fixed some of the whitespace damage.
>
> Eike

+	if (!ret)
+		if (val == oldval)
+			ret = put_user(newval, uaddr);

This bit is ugly.

Dave

-- 
John David Anglin    dave.anglin@bell.net


      reply	other threads:[~2011-07-08 15:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03 17:16 tst-cputimer1 and tst-timer4 Carlos O'Donell
2011-07-03 23:22 ` John David Anglin
2011-07-04 15:21   ` Carlos O'Donell
2011-07-04 15:26     ` Carlos O'Donell
2011-07-04 16:09       ` Carlos O'Donell
2011-07-04 16:58       ` John David Anglin
2011-07-04 17:49         ` Carlos O'Donell
2011-07-04 18:50           ` John David Anglin
2011-07-04 18:59             ` Carlos O'Donell
2011-07-05 17:28               ` Carlos O'Donell
2011-07-05 17:51                 ` Rolf Eike Beer
2011-07-05 22:17                   ` Carlos O'Donell
2011-07-08 15:00                     ` Rolf Eike Beer
2011-07-08 15:18                       ` John David Anglin [this message]

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=4E171FC9.3070505@bell.net \
    --to=dave.anglin@bell.net \
    --cc=eike-kernel@sf-tec.de \
    --cc=linux-parisc@vger.kernel.org \
    /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.