lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090924195732.384bea26@dhcp-lab-109.englab.brq.redhat.com>
Date:	Thu, 24 Sep 2009 19:57:32 +0200
From:	Stanislaw Gruszka <sgruszka@...hat.com>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc:	Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
	Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] itimers: fix racy writes to cpu_itimer fields

On Thu, 24 Sep 2009 16:48:07 +0200
Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:

> On Thu, 2009-09-24 at 16:35 +0200, Stanislaw Gruszka wrote:
> > incr_error and error fields of struct cpu_itimer are used when calculating
> > next timer tick in check_cpu_itimers() and should not be modified without
> > tsk->sighand->siglock taken.
> 
> Won't it be all-round much better to convert these things to hrtimers
> instead of adding more and more fuzz on top to make them deal with
> jiffies?

Perhaps it would, but I don't know how to do it :{ . Especially how to
precisely account user time. The only idea I have is make something like 
microstate accounting (http://lwn.net/Articles/127296/), but this patch
and whole idea was rejected long time ago. 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ