All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Anzinger <george@mvista.com>
To: Andrew Morton <akpm@osdl.org>
Cc: oleg@tv-sign.ru, linux-kernel@vger.kernel.org
Subject: Re: [PATCH rc4-mm2 2/2] posix-timers: use try_to_del_timer_sync()
Date: Mon, 23 May 2005 17:52:55 -0700	[thread overview]
Message-ID: <42927AE7.1070103@mvista.com> (raw)
In-Reply-To: <20050523172923.26068053.akpm@osdl.org>

Andrew Morton wrote:
> George Anzinger <george@mvista.com> wrote:
> 
>>Oleg Nesterov wrote:
>>
>>>sys_timer_settime/sys_timer_delete needs to delete k_itimer->real.timer
>>>synchronously while holding ->it_lock, which is also locked in posix_timer_fn.
>>>
>>>This patch removes timer_active/set_timer_inactive which plays with
>>>timer_list's internals in favour of using try_to_del_timer_sync(),
>>>which was introduced in the previous patch.
>>
>>Is there a particular reason for this, like it does not work, for example, or 
>>are you just trying to clean up code?
> 
> 
> The posix-timers code is poking about in the internals of the timer_list
> implementation.  It shouldn't, and finding some way to fix that up is
> desirable.

I see, and agree.  Could you give me a bit to work on this.  I would like to 
come up with something that is compatable with the HRT patch.  At this time I am 
waiting for John Stultz's time keeping changes to get in before pushing HRT, but 
I would still like it to get it into the kernel.



-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/

  reply	other threads:[~2005-05-24  0:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22 14:57 [PATCH rc4-mm2 2/2] posix-timers: use try_to_del_timer_sync() Oleg Nesterov
2005-05-24  0:04 ` George Anzinger
2005-05-24  0:29   ` Andrew Morton
2005-05-24  0:52     ` George Anzinger [this message]
2005-05-24  9:38   ` Oleg Nesterov
2005-05-24 15:27     ` George Anzinger
  -- strict thread matches above, loose matches on Subject: below --
2005-05-26 16:16 George Anzinger
2005-05-26 17:22 ` Oleg Nesterov

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=42927AE7.1070103@mvista.com \
    --to=george@mvista.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    /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.